Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
48f384dc
Commit
48f384dc
authored
Oct 22, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: reduced webpack log output and remove race flag from go tests
parent
b6184a71
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
6 deletions
+10
-6
scripts/circle-test.sh
+1
-1
scripts/grunt/build_task.js
+1
-1
scripts/grunt/options/exec.js
+3
-2
scripts/grunt/options/webpack.js
+1
-1
scripts/webpack/webpack.prod.js
+4
-1
No files found.
scripts/circle-test.sh
View file @
48f384dc
...
@@ -42,7 +42,7 @@ set -e
...
@@ -42,7 +42,7 @@ set -e
echo
""
>
coverage.txt
echo
""
>
coverage.txt
for
d
in
$(
go list ./pkg/...
)
;
do
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
if
[
-f
profile.out
]
;
then
cat
profile.out
>>
coverage.txt
cat
profile.out
>>
coverage.txt
rm profile.out
rm profile.out
...
...
scripts/grunt/build_task.js
View file @
48f384dc
...
@@ -7,7 +7,7 @@ module.exports = function(grunt) {
...
@@ -7,7 +7,7 @@ module.exports = function(grunt) {
'clean:release'
,
'clean:release'
,
'clean:build'
,
'clean:build'
,
'phantomjs'
,
'phantomjs'
,
'
webpack:prod
'
,
'
exec:webpack
'
,
]);
]);
};
};
scripts/grunt/options/exec.js
View file @
48f384dc
...
@@ -7,7 +7,8 @@ module.exports = function(config, grunt) {
...
@@ -7,7 +7,8 @@ module.exports = function(config, grunt) {
}
}
return
{
return
{
tslint
:
"node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json"
,
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
,
jest
:
"node ./node_modules/jest-cli/bin/jest.js "
+
coverage
,
"webpack"
:
"./node_modules/.bin/webpack --config scripts/webpack/webpack.prod.js"
,
};
};
};
};
scripts/grunt/options/webpack.js
View file @
48f384dc
...
@@ -5,7 +5,7 @@ module.exports = function() {
...
@@ -5,7 +5,7 @@ module.exports = function() {
'use strict'
;
'use strict'
;
return
{
return
{
options
:
{
options
:
{
stats
:
!
process
.
env
.
NODE_ENV
||
process
.
env
.
NODE_ENV
===
'development'
stats
:
false
,
},
},
dev
:
dev
,
dev
:
dev
,
prod
:
prod
prod
:
prod
...
...
scripts/webpack/webpack.prod.js
View file @
48f384dc
...
@@ -27,7 +27,10 @@ module.exports = merge(common, {
...
@@ -27,7 +27,10 @@ module.exports = merge(common, {
},
},
devServer
:
{
devServer
:
{
stats
:
'errors-only'
,
noInfo
:
true
,
stats
:
{
chunks
:
false
,
},
},
},
plugins
:
[
plugins
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment