Skip to content

Commit

Permalink
Merge branch 'release/v0.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr-ableton committed Aug 22, 2019
2 parents 932f177 + 6d0cce5 commit a63bac2
Show file tree
Hide file tree
Showing 367 changed files with 258 additions and 63,756 deletions.
50 changes: 50 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.12
environment:
- GO111MODULE=on
working_directory: /go/src/github.com/oleiade/trousseau
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run: go mod download
- run: go build github.com/oleiade/trousseau/cmd/...
- run: go test github.com/oleiade/trousseau/...
- save_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
release:
docker:
- image: circleci/golang:1.12
environment:
- GO111MODULE=on
- GITHUB_TOKEN=${GITHUB_TOKEN}
working_directory: /go/src/github.com/oleiade/trousseau
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run: go mod download
- run: goreleaser
workflows:
version: 2
build-n-deploy:
jobs:
- build:
filters:
tags:
only: /.*/
- deploy:
requires:
- build
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
26 changes: 1 addition & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# Build artefacts
build/

# Makefile generated paths
.gopath
.sw?
bin/
# Build files
dist/

# Compiled Object files, Static and Dynamic libs (Shared Objects)
Expand All @@ -30,21 +24,3 @@ _testmain.go

*.exe
*.test

# Vagrant files
.vagrant/
.sudo_as_admin_successful
.bash_history
.cache


# Documentation files
docs/build/


# Intellij
.idea

# Vim files
*.swp
*.swo
42 changes: 42 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- main: ./cmd/trousseau
binary: trousseau
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
signs:
- artifacts: checksum
brews:
- name: trousseau
github:
owner: oleiade
name: homebrew-tap
folder: Formula
homepage: https://github.com/oleiade/trousseau
description: File based encrypted key-value store
test: |
system "#{bin}/trousseau -v"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
10 changes: 0 additions & 10 deletions .goxc.json

This file was deleted.

14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

142 changes: 0 additions & 142 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

76 changes: 0 additions & 76 deletions Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,15 @@ TrousseauVersion: 0.1.0c

## Contribute

### Testing

Running the unit tests for the project is done with the following command:

```go
go test github.com/oleiade/trousseau/...
```

### Workflow
For detailed contribution instructions, see the the [CONTRIBUTING](https://github.com/oleiade/trousseau/blob/master/CONTRIBUTING.md) document

However here is a quick summary for all of you in a hurry:
Expand Down
Loading

0 comments on commit a63bac2

Please sign in to comment.