gyp npm install
This commit is contained in:
20
llmr.gyp
20
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',
|
||||
|
||||
Reference in New Issue
Block a user