-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
830 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,11 @@ | |
|
||
# Environment file | ||
.env | ||
|
||
# Packages | ||
dist/* | ||
# Coverage files | ||
coverage* | ||
|
||
# IDE files | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Goreleaser documentation at http://goreleaser.com | ||
project_name: dunner | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm | ||
- arm64 | ||
archives: | ||
- replacements: | ||
386: i386 | ||
amd64: x86_64 | ||
checksum: | ||
name_template: '{{ .ProjectName }}_checksums.txt' | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- Merge pull request | ||
- Merge branch | ||
- Update readme | ||
snapshot: | ||
name_template: "{{.ProjectName}}_{{.Tag}}" | ||
|
||
brew: | ||
github: | ||
owner: leopardslab | ||
name: homebrew-dunner | ||
folder: Formula | ||
homepage: https://github.com/leopardslab/Dunner | ||
description: A Docker based task runner tool | ||
test: | | ||
system "#{bin}/dunner version" | ||
nfpm: | ||
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' | ||
homepage: https://github.com/leopardslab/Dunner | ||
description: A Docker based task runner tool | ||
license: MIT | ||
formats: | ||
- deb | ||
- rpm | ||
dependencies: | ||
- git | ||
recommends: | ||
- rpm | ||
snapcraft: | ||
name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' | ||
summary: A Docker based task runner tool | ||
description: | | ||
Dunner is a task runner tool like Grunt but used Docker images like CircleCI do. | | ||
You can define tasks and steps of the tasks in your `.dunner.yaml` file and then run these steps with `Dunner do taskname` | ||
grade: stable | ||
confinement: strict | ||
publish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,38 @@ | ||
language: go | ||
|
||
go: | ||
- "1.11.x" | ||
- master | ||
|
||
- 1.11.x | ||
- master | ||
env: | ||
global: | ||
- DEP_VERSION="0.5.0" | ||
|
||
- PATH=/snap/bin:$PATH | ||
services: | ||
- docker | ||
|
||
- docker | ||
addons: | ||
apt: | ||
packages: | ||
- rpm | ||
- snapd | ||
before_install: | ||
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep | ||
- chmod +x $GOPATH/bin/dep | ||
|
||
- openssl aes-256-cbc -K $encrypted_12c8071d2874_key -iv $encrypted_12c8071d2874_iv | ||
-in snap.login.enc -out snap.login -d | ||
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 | ||
-o $GOPATH/bin/dep | ||
- chmod +x $GOPATH/bin/dep | ||
install: | ||
- dep ensure -v | ||
|
||
script: go test -v ./... | ||
- make setup | ||
- sudo snap install snapcraft --classic | ||
script: | ||
- make ci | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
- test -n "$TRAVIS_TAG" && snapcraft login --with snap.login | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: curl -sL https://git.io/goreleaser | bash | ||
verbose: true | ||
on: | ||
tags: true | ||
condition: "$TRAVIS_OS_NAME = linux" | ||
master: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.