[beast/ebeast: 2/24] V8: add rules to fetch node-gyp and electron via npm



commit 2ba8c14674e891f7d6135b781a311cc9bd372fa9
Author: Tim Janik <timj gnu org>
Date:   Fri Feb 17 19:06:35 2017 +0100

    V8: add rules to fetch node-gyp and electron via npm
    
    Signed-off-by: Tim Janik <timj gnu org>

 ebeast/v8bse/Makefile.am |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/ebeast/v8bse/Makefile.am b/ebeast/v8bse/Makefile.am
index 6ac28ee..c2c1368 100644
--- a/ebeast/v8bse/Makefile.am
+++ b/ebeast/v8bse/Makefile.am
@@ -1,5 +1,21 @@
 # BEAST & BSE
 include $(top_srcdir)/Makefile.decl
 
+CLEANDIRS     =
+
+
+# == electron ==
+npm:
+       npm install --save electron             # ./node_modules/electron/dist/electron
+       npm install --save-dev node-gyp         # builds build/Release/v8bse.node
+node_modules/: npm
+clean-node_modules:
+       rm -rf node_modules/
+
+# == clean ==
+clean-local: cleandirs # clean-node_modules
+cleandirs:
+       rm -rf $(CLEANDIRS)
+
 EXTRA_DIST += $(strip \
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]