Commit 9a2d584f authored by Thomas Lechauve's avatar Thomas Lechauve

Create target tarball to compress website.

parent 0ed49aff
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
NAME = build NAME = build
TARBALL = slapos.tar.gz TARBALL = slapos
JSLINT = jslint JSLINT = jslint
JSLINTOPTIONS = --maxerr=5 JSLINTOPTIONS = --maxerr=5
...@@ -139,7 +139,7 @@ $(DEVDIR)/tests/%_test.html: js/tests/%_test.html ...@@ -139,7 +139,7 @@ $(DEVDIR)/tests/%_test.html: js/tests/%_test.html
$(DEVDIR)/tests/%_test.js: js/tests/%_test.js $(DEVDIR)/tests/%_test.js: js/tests/%_test.js
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ cp $< $@)
$(DEVDIR)/tests/%_test.html.ok: $(DEVDIR)/tests/%_test.html $(DEVDIR)/tests/%_test.js $(DEVDIR)/js/%.js $(DEVDIR)/tests/%_test.html.ok: $(DEVDIR)/tests/%_test.html $(DEVDIR)/tests/%_test.js $(DEVDIR)/js/%.js
xvfb-run phantomjs js/tests/run-qunit.js $< xvfb-run phantomjs js/tests/run-qunit.js $<
...@@ -160,8 +160,10 @@ $(DEVDIR)/tests/%_test.html.ok: $(DEVDIR)/tests/%_test.html $(DEVDIR)/tests/%_te ...@@ -160,8 +160,10 @@ $(DEVDIR)/tests/%_test.html.ok: $(DEVDIR)/tests/%_test.html $(DEVDIR)/tests/%_te
#@mkdir -p $(@D) #@mkdir -p $(@D)
#cat $^ | uglifyjs > $@ #cat $^ | uglifyjs > $@
#tarball: $(DEVDIR)/$(FINALJS) $(DEVDIR)/index.html $(TARBALL).tar.gz: $(wildcard $(APPDIR)/*)
#tar -czf $(TARBALL) $^ cd $(APPDIR); tar -czvf $@ *
tarball: $(TARBALL).tar.gz
#export: tarball #export: tarball
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment