Skip to content

Commit a63bac2

Browse files
committed
Merge branch 'release/v0.4.1'
2 parents 932f177 + 6d0cce5 commit a63bac2

File tree

367 files changed

+258
-63756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

367 files changed

+258
-63756
lines changed

.circleci/config.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/golang:1.12
6+
environment:
7+
- GO111MODULE=on
8+
working_directory: /go/src/github.com/oleiade/trousseau
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
keys:
13+
- go-mod-v1-{{ checksum "go.sum" }}
14+
- run: go mod download
15+
- run: go build github.com/oleiade/trousseau/cmd/...
16+
- run: go test github.com/oleiade/trousseau/...
17+
- save_cache:
18+
key: go-mod-v1-{{ checksum "go.sum" }}
19+
paths:
20+
- "/go/pkg/mod"
21+
release:
22+
docker:
23+
- image: circleci/golang:1.12
24+
environment:
25+
- GO111MODULE=on
26+
- GITHUB_TOKEN=${GITHUB_TOKEN}
27+
working_directory: /go/src/github.com/oleiade/trousseau
28+
steps:
29+
- checkout
30+
- restore_cache:
31+
keys:
32+
- go-mod-v1-{{ checksum "go.sum" }}
33+
- run: go mod download
34+
- run: goreleaser
35+
workflows:
36+
version: 2
37+
build-n-deploy:
38+
jobs:
39+
- build:
40+
filters:
41+
tags:
42+
only: /.*/
43+
- deploy:
44+
requires:
45+
- build
46+
filters:
47+
tags:
48+
only: /^v.*/
49+
branches:
50+
ignore: /.*/

.gitignore

+1-25
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
# Build artefacts
2-
build/
3-
4-
# Makefile generated paths
5-
.gopath
6-
.sw?
7-
bin/
1+
# Build files
82
dist/
93

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

3125
*.exe
3226
*.test
33-
34-
# Vagrant files
35-
.vagrant/
36-
.sudo_as_admin_successful
37-
.bash_history
38-
.cache
39-
40-
41-
# Documentation files
42-
docs/build/
43-
44-
45-
# Intellij
46-
.idea
47-
48-
# Vim files
49-
*.swp
50-
*.swo

.goreleaser.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# you may remove this if you don't use vgo
6+
- go mod download
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- main: ./cmd/trousseau
11+
binary: trousseau
12+
env:
13+
- CGO_ENABLED=0
14+
archives:
15+
- replacements:
16+
darwin: Darwin
17+
linux: Linux
18+
windows: Windows
19+
386: i386
20+
amd64: x86_64
21+
signs:
22+
- artifacts: checksum
23+
brews:
24+
- name: trousseau
25+
github:
26+
owner: oleiade
27+
name: homebrew-tap
28+
folder: Formula
29+
homepage: https://github.com/oleiade/trousseau
30+
description: File based encrypted key-value store
31+
test: |
32+
system "#{bin}/trousseau -v"
33+
checksum:
34+
name_template: 'checksums.txt'
35+
snapshot:
36+
name_template: "{{ .Tag }}-next"
37+
changelog:
38+
sort: asc
39+
filters:
40+
exclude:
41+
- '^docs:'
42+
- '^test:'

.goxc.json

-10
This file was deleted.

.travis.yml

-14
This file was deleted.

Godeps/Godeps.json

-142
This file was deleted.

Godeps/Readme

-5
This file was deleted.

Makefile

-76
This file was deleted.

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,15 @@ TrousseauVersion: 0.1.0c
433433

434434
## Contribute
435435

436+
### Testing
437+
438+
Running the unit tests for the project is done with the following command:
439+
440+
```go
441+
go test github.com/oleiade/trousseau/...
442+
```
443+
444+
### Workflow
436445
For detailed contribution instructions, see the the [CONTRIBUTING](https://github.com/oleiade/trousseau/blob/master/CONTRIBUTING.md) document
437446

438447
However here is a quick summary for all of you in a hurry:

0 commit comments

Comments
 (0)