gyp npm install

This commit is contained in:
Mike Morris
2014-07-09 15:52:14 -07:00
parent 9eb6b69cd4
commit ce46f54806

View File

@@ -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',