Skip to content

Commit 5115bfe

Browse files
committed
Make mup executable
1 parent d2b1d9b commit 5115bfe

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "Production Quality Meteor Deployments",
55
"main": "lib/index.js",
66
"bin": {
7-
"mup": "./lib/index.js"
7+
"mup": "./index.js"
88
},
99
"scripts": {
1010
"prepublish": "nofat build",
11-
"test": "nofat build && nofat test && nofat lint"
11+
"test": "nofat test && nofat lint"
1212
},
1313
"repository": {
1414
"type": "git",

src/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
import modules from './modules/';
42
import MupAPI from './mup-api';
53
import checkUpdates from './updates';

tests/test-run.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,17 @@ echo '' > ~/.ssh/known_hosts
3232
ssh-keygen -f new -t rsa -N ''
3333
chmod 600 new.pub
3434
sudo chown root:root new.pub
35-
eval `ssh-agent`
36-
ssh-add new
35+
eval `ssh-agent`
36+
ssh-add new
3737
sudo docker rm -f $(sudo docker ps -aq) 2>/dev/null
3838
if [[ -z $(sudo docker images -aq mybase) ]]; then
3939
sudo docker build -t mybase .
4040
fi
4141

4242
cd $MUP_DIR
4343
npm install
44+
npm run prepublish
4445
sudo npm link
4546
} > /dev/null
47+
4648
parallel --progress -j $MOCHA_PARALLEL run_test ::: </tmp/tests/tests.list

0 commit comments

Comments
 (0)