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
08bad530
Commit
08bad530
authored
Dec 30, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(build): fail when go fmt fails
parent
8ed89225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
scripts/circle-test.sh
+2
-5
No files found.
scripts/circle-test.sh
View file @
08bad530
#!/bin/bash
function
exit_if_fail
{
command
=
$@
echo
"Executing '
$command
'"
...
...
@@ -13,7 +10,6 @@ function exit_if_fail {
fi
}
cd
/home/ubuntu/.go_workspace/src/github.com/grafana/grafana
rm
-rf
node_modules
...
...
@@ -23,7 +19,8 @@ npm install
exit_if_fail npm
test
exit_if_fail npm run coveralls
test
-z
"
$(
gofmt
-s
-l
./pkg/... | tee /dev/stderr
)
"
#test -z "$(gofmt -s -l ./pkg/... | tee /dev/stderr)"
exit_if_fail
test
-z
"
$(
gofmt
-s
-l
./pkg/... | tee /dev/stderr
)
"
exit_if_fail go run build.go setup
exit_if_fail go run build.go build
...
...
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