Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.

Commit cd13bec

Browse files
ZeHirogregorylegarec
authored andcommitted
Fix PATH for all scripts (#600)
1 parent 93369aa commit cd13bec

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: scripts/build_server.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
PATH="$PATH:./node_modules/.bin"
2+
PATH="./node_modules/.bin:$PATH"
33

44
echo "Build server files..."
55
echo "Building CoffeeScript..."

Diff for: scripts/lint.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
PATH="./node_modules/.bin:$PATH"
23

34
./node_modules/.bin/coffeelint -f coffeelint.json -r --color=always . &&\
45
./node_modules/.bin/standard "server/konnectors/*.js"

Diff for: scripts/tests.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
2+
PATH="./node_modules/.bin:$PATH"
23

3-
./node_modules/.bin/mocha \
4+
mocha \
45
--reporter spec \
56
--colors \
67
--globals clearImmediate,setImmediate \

0 commit comments

Comments
 (0)