aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-15 11:42:43 +1000
committerYuchen Pei <hi@ypei.me>2022-04-15 11:42:43 +1000
commit92c7f395d895f97567ef6a74cd311d036d7d95a1 (patch)
tree7bee7a110154e12b65e8d9ce88a847f5a1c5bd65
parented4269e2b188e495d7f024b8ce3963b8ca63787a (diff)
adding run devserver to makefile
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b29cdf4..71e5ea7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,10 @@ deploy:
@echo "Deploying to ypei.me..."
ansible-playbook -i ~/Projects/sysadmin/ansible/inventory.yml -l ypei.me ~/Projects/sysadmin/ansible/deploy-sites.yml
+run-devserver:
+ @echo "Running devserver with python webserver..."
+ python -m http.server --directory ./site 8000
+
clean:
@echo "Cleaning up.."
@rm -rvf *.elc