summaryrefslogtreecommitdiff
path: root/dist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Makefile')
-rw-r--r--dist/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/dist/Makefile b/dist/Makefile
new file mode 100644
index 0000000..fad2e12
--- /dev/null
+++ b/dist/Makefile
@@ -0,0 +1,24 @@
+all: clean build deploy
+
+build: styles scripts dist copy
+
+scripts:
+ gulp scripts
+
+styles:
+ gulp styles
+
+dist:
+ gulp dist
+
+copy:
+ cp css/fonts/charter_* dist/css/fonts
+
+deploy:
+ rsync --delete --exclude "woocommerce" -avzP ./dist/* -e ssh rwp_network:/var/www/wordpress/wp-content/themes/fuselkoenig_de_v2
+
+edit:
+ $(EDITOR) sass/theme/_theme.scss
+
+clean:
+ $(RM) -r $(RMFLAGS) dist