mirror of
https://github.com/rumanzo/deluge2qbt.git
synced 2024-11-09 20:42:31 +01:00
18 lines
823 B
YAML
18 lines
823 B
YAML
# This is a sample build configuration for Go.
|
|
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
|
|
# Only use spaces to indent your .yml configuration.
|
|
# -----
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
|
image: golang:1.10
|
|
|
|
pipelines:
|
|
default:
|
|
- step:
|
|
script: # Modify the commands below to build your repository.
|
|
- PACKAGE_PATH="${GOPATH}/src/bt2qbt/"
|
|
- mkdir -pv "${PACKAGE_PATH}"
|
|
- tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
|
|
- cd "${PACKAGE_PATH}"
|
|
- go get -v
|
|
- GOOS=windows GOARCH=386 go build -ldflags "-s -w" -v -o deluge2qbt_i386.exe
|
|
- GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -v -o deluge2qbt_amd64.exe |