Commit 28e65c94 authored by JC Brand's avatar JC Brand

Add build step

parent 4f3eee34
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
BOWER ?= node_modules/.bin/bower BOWER ?= node_modules/.bin/bower
BUILDDIR = ./docs BUILDDIR = ./docs
PAPER = PAPER =
PHANTOMJS ?= phantomjs PHANTOMJS ?= node_modules/.bin/phantomjs
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
SPHINXOPTS = SPHINXOPTS =
...@@ -11,7 +11,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./d ...@@ -11,7 +11,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./d
# the i18n builder cannot share the environment and doctrees with the others # the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./docs/source I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./docs/source
.PHONY: all help clean html epub changes linkcheck gettext po pot po2json merge release css minjs .PHONY: all help clean html epub changes linkcheck gettext po pot po2json merge release css minjs build
all: dev all: dev
...@@ -87,6 +87,9 @@ css:: ...@@ -87,6 +87,9 @@ css::
./node_modules/.bin/lessc less/styles.less > css/theme.css ./node_modules/.bin/lessc less/styles.less > css/theme.css
./node_modules/.bin/lessc less/converse.less > css/converse.css ./node_modules/.bin/lessc less/converse.less > css/converse.css
build::
./node_modules/.bin/grunt minify
######################################################################## ########################################################################
## Tests ## Tests
......
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