[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] branch master updated: check js via make
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] branch master updated: check js via makefile |
Date: |
Tue, 09 Jan 2018 10:14:16 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository backoffice.
The following commit(s) were added to refs/heads/master by this push:
new 500134d check js via makefile
500134d is described below
commit 500134d1ac9cc6c75d388a8234579f59833f66c1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jan 9 10:14:02 2018 +0100
check js via makefile
---
Makefile.in | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
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|@address@hidden|$(prefix)|g'
.PHONY: all
@@ -21,6 +21,14 @@ $(script_templates): %: Makefile %.in
$(edit) '$(srcdir)/address@hidden' >address@hidden
mv address@hidden $@
+.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)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-backoffice] branch master updated: check js via makefile,
gnunet <=