mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Add "debug" make target and other tweaks
This commit is contained in:
parent
0c17d5c543
commit
2cdedfa348
1 changed files with 11 additions and 7 deletions
18
Makefile
18
Makefile
|
|
@ -1,19 +1,23 @@
|
|||
all: blog
|
||||
|
||||
blog: gensite
|
||||
debug: gensite
|
||||
@echo
|
||||
./bin/gensite . www http://localhost:8000
|
||||
|
||||
beta: gensite
|
||||
@echo
|
||||
./bin/gensite . www https://beta.samhuri.net
|
||||
|
||||
release: gensite
|
||||
@echo
|
||||
rm -rf www
|
||||
./bin/gensite . www
|
||||
|
||||
publish: blog
|
||||
publish: release
|
||||
@echo
|
||||
./bin/publish --delete www/
|
||||
|
||||
publish_beta:
|
||||
publish_beta: beta
|
||||
@echo
|
||||
./bin/build-gensite
|
||||
rm -rf www
|
||||
./bin/gensite . www "https://beta.samhuri.net"
|
||||
./bin/publish --beta --delete www/
|
||||
|
||||
gensite:
|
||||
|
|
|
|||
Loading…
Reference in a new issue