Skip to content

Commit

Permalink
Update default make target to compile nunjucks templates.
Browse files Browse the repository at this point in the history
Delete precompiled templates, which we no longer need.
  • Loading branch information
erikrose committed Mar 14, 2014
1 parent 0a417f8 commit 836307a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 265 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.pyc
*.o
*.so
/dxr/static/js/templates.js
/tests/*/target
/tests/*/temp
/tests/*/code/code
Expand Down
264 changes: 0 additions & 264 deletions dxr/static/js/templates.js

This file was deleted.

8 changes: 7 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ all: build
test: build
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:`pwd`/trilite python2 setup.py test

build: $(BUILD_PLUGINS) trilite
build: $(BUILD_PLUGINS) trilite templates

check: $(CHECK_PLUGINS) trilite

clean: $(CLEAN_PLUGINS) trilite-clean

node:
npm install

templates: node
node_modules/.bin/grunt precompile

trilite:
$(MAKE) -C trilite/ release

Expand Down

0 comments on commit 836307a

Please sign in to comment.