Add target (python web server)
parent
76b712d090
commit
0b5b01d2cd
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all publish push assets clean
|
.PHONY: all publish push assets clean serve
|
||||||
|
|
||||||
all: publish assets clean
|
all: publish assets clean
|
||||||
|
|
||||||
|
@ -46,3 +46,6 @@ clean:
|
||||||
|
|
||||||
push: publish assets clean
|
push: publish assets clean
|
||||||
@rsync --recursive -avz --progress output/* ulysses:/home/www/stephane-adjemian.fr
|
@rsync --recursive -avz --progress output/* ulysses:/home/www/stephane-adjemian.fr
|
||||||
|
|
||||||
|
serve: publish assets clean
|
||||||
|
@cd output; python3 -m http.server
|
||||||
|
|
Loading…
Reference in New Issue