summaryrefslogtreecommitdiff
path: root/www/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-06 09:25:46 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-06 09:25:46 -0400
commitb047beb3e50a541564d2ab6ff17491608a630101 (patch)
tree28acf5d079d30748a054c9af67cf72c29c4f7024 /www/Makefile
parent01005b92a78aedfe80dcf24644dd361d10ac4113 (diff)
[pkg] package bitmask_www
Diffstat (limited to 'www/Makefile')
-rw-r--r--www/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index 1e21b9a8..e3a791d2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2,11 +2,16 @@ build:
npm install
npm run build:production
+build-dev:
+ npm run watch
+
clean:
rm -rf public
rm -rf node_modules
-pydist-wheel:
+pydist: pydist-clean build
+ touch leap/bitmask_www/__init__.py
+ cp -r public/ leap/bitmask_www
python setup.py bdist_wheel
pydist-dev:
@@ -14,3 +19,8 @@ pydist-dev:
pydist-clean:
rm -rf build dist
+ rm -rf leap/bitmask_www/*
+
+all: clean build pydist
+
+.PHONY: clean build install all