Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

add gomake build script #22

Merged
merged 1 commit into from
Nov 10, 2016
Merged

add gomake build script #22

merged 1 commit into from
Nov 10, 2016

Conversation

n0rad
Copy link
Contributor

@n0rad n0rad commented Nov 5, 2016

I propose to add gomake as the build script. We are using it @blablacar to build all our projects.

It's a simple shell script that handle all basic stuff needed.

Here is a example of a complete build :

$ ./gomake
Cleaning
Goimports
Building linux-amd64
Build duration : 0s
Testing
?       github.com/blablacar/acserver   [no test files]
Test duration : 1s
Format
Fix
Err check
main.go:135:14  os.RemoveAll(path.Join(directory, "tmp"))
main.go:374:11  w.Write([]byte("item already uploaded"))
main.go:451:16  reportFailure(num, w, "client reported failure", msg.Reason)
main.go:456:16  reportFailure(num, w, "manifest wasn't uploaded", msg.Reason)
main.go:461:16  reportFailure(num, w, "signature wasn't uploaded", msg.Reason)
main.go:466:16  reportFailure(num, w, "ACI wasn't uploaded", msg.Reason)
main.go:474:16  reportFailure(num, w, "Internal Server Error", msg.Reason)
Lint
Vet
Misspell
Ineffassign
Gocyclo
/home/n0rad/Work/go/src/github.com/blablacar/acserver
Quality duration : 1s
Global duration : 2s

It also handle releases by

It's not perfect yet, but it's doing the job

@cgonyeo cgonyeo merged commit eff10ff into appc:master Nov 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants