forked from root/threadr.lostcave.ddnss.de
bigbrain moment
parent
c80a31bd71
commit
92fba18fd7
|
@ -13,10 +13,7 @@ cp -r ./src ./build
|
||||||
rm ./build/**/*.{php,html,css,svg}
|
rm ./build/**/*.{php,html,css,svg}
|
||||||
|
|
||||||
# run the macro handler
|
# run the macro handler
|
||||||
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass0\*.json src\/$file > build\/$file/'`" | bash -
|
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass0\*.json src\/$file | python3 variable_grabbler.py macros\/pass1\*.json - | python3 variable_grabbler.py macros\/pass2\*.json - | python3 variable_grabbler.py macros\/pass3\*.json - > build\/$file/'`" | bash -
|
||||||
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass1\*.json src\/$file > build\/$file/'`" | bash -
|
|
||||||
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass2\*.json src\/$file > build\/$file/'`" | bash -
|
|
||||||
echo "`cd src; find -name "*.php" -or -name "*.html" -or -name "*.css" -or -name "*.svg" | sed 's/^/file=/;s/$/\; python3 variable_grabbler.py macros\/pass3\*.json src\/$file > build\/$file/'`" | bash -
|
|
||||||
|
|
||||||
echo "==============================================================================
|
echo "==============================================================================
|
||||||
Done."
|
Done."
|
||||||
|
|
Loading…
Reference in New Issue