Commit 48f384dc by Torkel Ödegaard

build: reduced webpack log output and remove race flag from go tests

parent b6184a71
......@@ -42,7 +42,7 @@ set -e
echo "" > coverage.txt
for d in $(go list ./pkg/...); do
exit_if_fail go test -race -coverprofile=profile.out -covermode=atomic $d
exit_if_fail go test -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
......
......@@ -7,7 +7,7 @@ module.exports = function(grunt) {
'clean:release',
'clean:build',
'phantomjs',
'webpack:prod',
'exec:webpack',
]);
};
......@@ -7,7 +7,8 @@ module.exports = function(config, grunt) {
}
return {
tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json",
jest : "node ./node_modules/jest-cli/bin/jest.js " + coverage,
tslint: "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json",
jest: "node ./node_modules/jest-cli/bin/jest.js " + coverage,
"webpack": "./node_modules/.bin/webpack --config scripts/webpack/webpack.prod.js",
};
};
......@@ -5,7 +5,7 @@ module.exports = function() {
'use strict';
return {
options: {
stats: !process.env.NODE_ENV || process.env.NODE_ENV === 'development'
stats: false,
},
dev: dev,
prod: prod
......
......@@ -27,7 +27,10 @@ module.exports = merge(common, {
},
devServer: {
stats: 'errors-only',
noInfo: true,
stats: {
chunks: false,
},
},
plugins: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment