Skip to content

Commit

Permalink
feat(download): Add download binary
Browse files Browse the repository at this point in the history
This is required for consistency with other importers and to allow
downloading without calling `npm`

Connects pelias/pelias#745
  • Loading branch information
orangejulius committed Nov 11, 2018
1 parent 55a42b9 commit 41994a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/download
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

exec node ./bin/downloadData.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"scripts": {
"download_metadata": "mkdirp metadata && node bin/updateMetadata.js",
"download": "node bin/downloadData.js",
"download": "./bin/download",
"countryCodes": "node bin/viewCountryCodes.js",
"functional": "./bin/functional",
"import": "./bin/start",
Expand Down

0 comments on commit 41994a4

Please sign in to comment.