Commit 2dca7daf by Dane Springmeyer

drop the tar.gz dependency and use python instead - refs #151

parent 4a8ab10b
import sys
import tarfile
import os
tarball = sys.argv[1]
if not os.path.exists(tarball.replace('.tar.gz','')):
tarfile.open().extractall('.')
\ No newline at end of file
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
'outputs': [ 'outputs': [
'./sqlite-autoconf-<@(sqlite_version)/sqlite3.c' './sqlite-autoconf-<@(sqlite_version)/sqlite3.c'
], ],
'action': ['<@(bin_name)','../node_modules/.bin/targz','./sqlite-autoconf-<@(sqlite_version).tar.gz','-x','./'] 'action': ['python','./extract.py','./sqlite-autoconf-<@(sqlite_version).tar.gz']
} }
] ]
}, },
......
...@@ -30,12 +30,8 @@ ...@@ -30,12 +30,8 @@
}, },
"devDependencies": { "devDependencies": {
"step": "0.0.4", "step": "0.0.4",
"mocha": "~1.7" "mocha": "1.12.x"
}, },
"dependencies": {
"tar.gz":"*"
},
"bundledDependencies": ["tar.gz"],
"engines": { "engines": {
"node": ">= 0.6.13 && < 0.11.0" "node": ">= 0.6.13 && < 0.11.0"
}, },
......
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