[beast: 4/70] V8BSE: add rules to fetch node-gyp and electron via npm



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

    V8BSE: 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]