~brettgilio/orcircd-web

88e89c5b4349f1b83956e764f01858f14c6a5a7c — Brett Gilio 6 months ago fb62837
Add Makefile

* Makefile: New file.
1 files changed, 27 insertions(+), 0 deletions(-)

A Makefile
A Makefile => Makefile +27 -0
@@ 0,0 1,27 @@
BUILD_DIR := _build
SITE_DIR := site
INDEX_FILE := index.json
SOUPAULT := soupault

.PHONY: site
site:
	$(SOUPAULT)

.PHONY: assets
assets:
	cp -r assets/* $(BUILD_DIR)/

.PHONY: all
all: site assets

.PHONY: clean
clean:
	rm -rf $(BUILD_DIR)/*

.PHONY: serve
serve:
	python3 -m http.server --directory $(BUILD_DIR)

.PHONY: deploy
deploy:
	scp -r ./_build/* root@brettgilio.com:/var/www/orcircd.org