Skip to content

Commit

Permalink
feat(create_index): use dedicated script as entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejulius committed Jan 15, 2019
1 parent e39b9e2 commit 1a47a86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ before_install:
before_script:
- sleep 10
- curl http://127.0.0.1:9200/
- node scripts/create_index.js -y
- ./bin/create_index
branches:
except:
- /^v\d+\.\d+\.\d+$/
Expand Down
3 changes: 3 additions & 0 deletions bin/create_index
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

node scripts/create_index.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"test": "./bin/test",
"integration": "./bin/integration",
"create_index": "node scripts/create_index",
"create_index": "./bin/create_index",
"drop_index": "node scripts/drop_index",
"reset_type": "node scripts/reset_type",
"update_settings": "node scripts/update_settings",
Expand Down

0 comments on commit 1a47a86

Please sign in to comment.