Skip to content

Commit 34f0e09

Browse files
committed
#3: Refactor build and test scripts in package.json.
1 parent 6a33310 commit 34f0e09

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.rultor.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ release:
1515
script: |
1616
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
1717
sed -i "s/0\.0\.0/${tag}/" package.json
18-
npm run fetch-and-build-grammar
19-
npm run test
20-
npm run package
18+
make
2119
git commit -am "set version to ${tag}"
2220
chmod 600 ../npmrc
2321
npm publish --no-color --userconfig=../npmrc
2422
merge:
2523
script: |-
26-
npm run test
27-
npm run package
24+
make

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
},
6363
"scripts": {
6464
"build": "make build",
65-
"test": "make test",
66-
"lint": "make lint"
65+
"lint": "make lint",
66+
"test": "make test"
6767
},
6868
"version": "0.0.0"
6969
}

0 commit comments

Comments
 (0)