site-neo/Makefile

24 lines
748 B
Makefile
Raw Normal View History

2023-02-19 14:53:44 +00:00
.PHONY: all list-doc list-sass list-rest list-dir list clean push
2023-02-07 03:09:21 +00:00
list: list-doc list-sass list-rest list-dir
list-doc:
@echo "====DOCUMENT FILES===="
find . -wholename './.hg' -prune , -type f -name '*.txti' , -name '*.org' , -name '*.md'
list-sass:
@echo "======SASS FILES======"
find . -wholename './.hg' -prune , -type f -name '*.s[ca]ss'
list-rest:
@echo "======OTHER FILES====="
find . -wholename './.hg' -prune , -type f -and ! \( -name '*.org' , -name '*.txti' , -name '*.md' , -name .hg \)
list-dir:
@echo "=====DIRECTORIES======"
find . -wholename './.hg' -prune , -type d -not -name .hg
2023-02-07 01:32:46 +00:00
clean:
2023-02-07 04:00:03 +00:00
rm -rf out
2023-02-07 03:09:21 +00:00
build:
./render.sh
2023-02-19 14:53:44 +00:00
./gensimap.sh
out: build
2023-02-19 18:40:50 +00:00
@echo -e "\e[38;5;217m*mwah!*~\e[0m"
2023-02-07 01:32:46 +00:00
push: build
rclone sync -v out/ neo:/