ci: split repo: make this repo frontend only again

This commit is contained in:
2024-03-09 00:08:09 +01:00
parent 5f56f34b4e
commit b132a5801b
308 changed files with 9 additions and 43867 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
echo "Compiling all LESS files to CSS"
function compile_less() {
FROM=$1
TO=${FROM/.*/.css}
SOURCE_MAP=${FROM/.*/.css.map}
echo "$FROM --> $TO & $SOURCE_MAP"
node_modules/less/bin/lessc "$FROM" "$TO" --source-map="$SOURCE_MAP"
}
export -f compile_less
find src -type f -name '*.less' -exec bash -c 'compile_less $1' shell {} \;