From ce46f548062072418d6d76eae91a1d73a67a5bfb Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 9 Jul 2014 15:52:14 -0700 Subject: [PATCH] gyp npm install --- llmr.gyp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/llmr.gyp b/llmr.gyp index 2a2df44b0..4b530d790 100644 --- a/llmr.gyp +++ b/llmr.gyp @@ -33,10 +33,30 @@ ] } }, + { + 'target_name': 'npm_install', + 'type': 'none', + 'hard_dependency': 1, + 'actions': [ + { + 'action_name': 'npm install', + 'inputs': [ + 'bin/package.json' + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/bin/node_modules', + ], + 'action': ['cd', 'bin/', 'npm', 'install'] + } + ], + }, { 'target_name': 'build_stylesheet', 'type': 'none', 'hard_dependency': 1, + 'dependencies': [ + 'npm_install' + ], 'actions': [ { 'action_name': 'Build Stylesheet',