Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
cleanup quite a bit, move to go module structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley committed Jun 25, 2019
1 parent ea066a8 commit 50a4345
Show file tree
Hide file tree
Showing 9 changed files with 223 additions and 472 deletions.
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
_output
*.log
~*
*.tmp
tmp
*.txt
dist
*.test
*.prof
*.conf
*.yml
*.yaml
!.goreleaser.yml
!.travis.yml
!example.*.yml
!example.*.yaml
vendor/*
vault-exporter
vault_exporter
22 changes: 11 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
builds:
- main: main.go
binary: vault_exporter
goos:
- darwin
- linux
goarch:
- amd64
- 386
# goreleaser.yml
project_name: vault-exporter
build:
binary: vault-exporter
goos:
- linux
goarch:
- amd64
ldflags: -s -w -X main.version=v{{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archive:
format: tar.gz
files:
- README.md
- LICENSE

dist: _output
snapshot:
name_template: snapshot-{{.Commit}}
244 changes: 0 additions & 244 deletions Gopkg.lock

This file was deleted.

34 changes: 0 additions & 34 deletions Gopkg.toml

This file was deleted.

Loading

0 comments on commit 50a4345

Please sign in to comment.