mirror of
https://gitlab.com/EternalWanderer/voidcruiser.nl
synced 2025-06-08 14:14:24 +02:00
Make files are both amazing and awful
This commit is contained in:
parent
db00da210e
commit
cbfa0d64b2
1 changed files with 16 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
src := public
|
||||||
|
target := voidcruiser.nl
|
||||||
|
|
||||||
|
push: $(target)
|
||||||
|
rsync -ahv $(target) voidDroplet:/var/www/ --delete
|
||||||
|
|
||||||
|
$(target): build
|
||||||
|
mv $(src) $(target)
|
||||||
|
|
||||||
|
build:
|
||||||
|
hugo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(target)
|
||||||
|
|
||||||
|
.PHONY := build push clean
|
Loading…
Add table
Add a link
Reference in a new issue