add static site generator
This commit is contained in:
9
www/build.sh
Executable file
9
www/build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
(cd src; hy build.hy)
|
||||
mkdir -p site/{html,assets,scripts}
|
||||
cp -r src/output/* site/html
|
||||
echo 'html generated'
|
||||
cp -r src/scripts site/
|
||||
echo 'scripts copied'
|
||||
cp -r src/assets site/
|
||||
echo 'assets copied'
|
Reference in New Issue
Block a user