Smartling / smartling-cli

Smartling-cli is a library and CLI tool for managing Smartling projects. See the project's Wiki for user documentation.
https://github.com/Smartling/smartling-cli/wiki
MIT License
16 stars 12 forks source link

Create Jenkins pipeline #10

Closed dimitrystd closed 7 years ago

dimitrystd commented 7 years ago

We use jenkins as CI. We need a build plan which will build and upload files on S3.

DoD

dimitrystd commented 7 years ago

@seletskiy Can you add a Makefile which will build for linux, darwin, windows (all amd64)?

seletskiy commented 7 years ago

https://github.com/Smartling/smartling-cli/blob/v2/Makefile

dimitrystd commented 7 years ago

@seletskiy I modified makefile but it returns error now

$ make
rm -rf ./bin
mkdir ./bin
go get
GOOS=darwin go build -o bin/smartling.darwin
GOOS=windows go build -o bin/smartling.windows.exe
GOOS=linux go build -o bin/smartling.linux
GOOS=all go build -o bin/smartling.all
cmd/go: unsupported GOOS/GOARCH pair all/amd64
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

I added workaround in 9207c32dbe97e859455fa2f3856e6d4a52811ac0, but would like to get it rid. Can you fix makefile, i don't understand where is issue.

seletskiy commented 7 years ago

@dimitrystd: done