summaryrefslogtreecommitdiff
path: root/Shakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Shakefile')
-rw-r--r--Shakefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Shakefile b/Shakefile
new file mode 100644
index 0000000..e88208b
--- /dev/null
+++ b/Shakefile
@@ -0,0 +1,19 @@
+shake_minimum_version "0.1"
+
+shake_doc build
+build() {
+ echo "Building..."
+ python3 build.py3
+}
+
+shake_doc sync
+sync() {
+ build
+ echo "Syncing..."
+ tar -C "target" -cz "." | ssh botahamec@botahamec.dev tar -C /var/www/botahamec.dev -xz
+ echo "Done!"
+}
+
+default() {
+ sync
+}