diff options
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 730071d..04df657 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,7 +6,7 @@ srcdir = @srcdir@ script_templates = taler-merchant-backoffice backoffice.wsgi templates = Makefile $(script_templates) - +ava = js/node_modules/.bin/ava edit = sed -e 's|@prefix[@]|$(prefix)|g' .PHONY: all @@ -21,6 +21,14 @@ $(script_templates): %: Makefile %.in $(edit) '$(srcdir)/$@.in' >$@.tmp mv $@.tmp $@ +.PHONY: check-js +check-js: + @cd js; yarn install + @$(ava) js/node_modules/.bin/ava js/test/index.js + +.PHONY: install-js +install-js: + @cp js/*.js talerbackoffice/backoffice/static .PHONY: install-data install-data: $(templates) |