copy node_modules
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
24
llmr.gyp
24
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'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user