Commit e823a62a by Dane Springmeyer

Merge pull request #147 from tomhughes/deps

Don't bother unpacking sqlite if we're not using it
parents fcdea862 a02f8afd
...@@ -20,17 +20,21 @@ ...@@ -20,17 +20,21 @@
{ {
'target_name': 'action_before_build', 'target_name': 'action_before_build',
'type': 'none', 'type': 'none',
'actions': [ 'conditions': [
{ ['sqlite == "internal"', {
'action_name': 'unpack_sqlite_dep', 'actions': [
'inputs': [ {
'./deps/sqlite-autoconf-<@(sqlite_version).tar.gz' 'action_name': 'unpack_sqlite_dep',
], 'inputs': [
'outputs': [ './deps/sqlite-autoconf-<@(sqlite_version).tar.gz'
'./deps/sqlite-autoconf-<@(sqlite_version)/sqlite3.c' ],
], 'outputs': [
'action': ['<@(bin_name)','./node_modules/.bin/targz','deps/sqlite-autoconf-<@(sqlite_version).tar.gz','-x','deps/'] './deps/sqlite-autoconf-<@(sqlite_version)/sqlite3.c'
} ],
'action': ['<@(bin_name)','./node_modules/.bin/targz','deps/sqlite-autoconf-<@(sqlite_version).tar.gz','-x','deps/']
}
]
}]
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment