From 824994a5b2df8d628b89a88880c9ce87bc31eb69 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 9 Jul 2014 17:24:55 -0700 Subject: [PATCH] copy node_modules --- bin/package.json | 2 +- llmr.gyp | 24 ++---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/bin/package.json b/bin/package.json index 95752667a..77edcb9bf 100644 --- a/bin/package.json +++ b/bin/package.json @@ -4,7 +4,7 @@ "dependencies": { "brfs": "^1.1.2", "fuzzer": "^0.2.0", - "glsl-optimizer": "git://github.com/kkaefer/glsl-optimizer.git#amalgamation", + "glsl-optimizer": "kkaefer/glsl-optimizer#amalgamation", "mkdirp": "^0.5.0", "through2": "^0.5.1" } diff --git a/llmr.gyp b/llmr.gyp index 6b0704ceb..83c0d6c64 100644 --- a/llmr.gyp +++ b/llmr.gyp @@ -33,34 +33,14 @@ ] } }, - { - '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': ['npm', 'install', 'bin/'] - } - ], - }, { 'target_name': 'copy_node_modules', 'type': 'none', 'hard_dependency': 1, - 'dependencies': [ - 'npm_install' - ], 'copies': [ { - 'files': ['<(SHARED_INTERMEDIATE_DIR)/bin/node_modules'], - 'destination': '<(PRODUCT_DIR)' + 'files': ['bin/node_modules'], + 'destination': '<(PRODUCT_DIR)/bin/node_modules' } ] },