2023-01-07 13:15:41 -05:00
|
|
|
clean:
|
2023-01-07 17:32:07 -05:00
|
|
|
@echo Cleaning...
|
|
|
|
@-rm -rf ./build
|
2023-01-07 13:15:41 -05:00
|
|
|
|
2023-01-12 12:08:10 -05:00
|
|
|
dirs:
|
2023-01-07 17:32:07 -05:00
|
|
|
@mkdir -p ./build
|
|
|
|
@mkdir -p ./build/css
|
|
|
|
@mkdir -p ./build/gfx
|
|
|
|
@mkdir -p ./build/images
|
2023-01-12 12:08:10 -05:00
|
|
|
|
|
|
|
pages:
|
2023-01-07 17:32:07 -05:00
|
|
|
python ./build.py
|
2023-01-12 12:08:10 -05:00
|
|
|
|
|
|
|
pages-debug:
|
|
|
|
python ./build.py --no-gz
|
|
|
|
|
|
|
|
data:
|
|
|
|
@echo Including assets...
|
2023-01-07 17:32:07 -05:00
|
|
|
@cp assets/css/* build/css/
|
|
|
|
@cp assets/gfx/* build/gfx/
|
|
|
|
# @cp assets/images/* build/images/
|
|
|
|
# @cp assets/scripts/* build/scripts/
|
|
|
|
# @cp -r ../../Reticulum/docs/manual/* build/reticulum_manual/
|
|
|
|
# @cp -r ../../Reticulum/docs/Reticulum\ Manual.pdf build/reticulum_manual/
|
2023-01-12 12:08:10 -05:00
|
|
|
|
|
|
|
site: dirs data pages
|
|
|
|
|
|
|
|
local: dirs data pages-debug
|
|
|
|
|
|
|
|
serve:
|
|
|
|
python -m http.server 7777 --bind 127.0.0.1 --directory ./build
|