Skip to content

Commit

Permalink
Remove migrated binaries (#1712)
Browse files Browse the repository at this point in the history
This commit removes the binaries that were migrated to their dedicated
git repos.

Fixes #1673
Fixes #1649
Fixes #1652
Fixes #1631
Fixes #1165
Fixes #1711
Fixes #1670
Fixes #1639

RELEASE_NOTES=[CLEANUP] Remove migrated binaries

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
  • Loading branch information
dominikschulz authored Jan 15, 2021
1 parent ddfe7bf commit 9d830ae
Show file tree
Hide file tree
Showing 36 changed files with 1 addition and 3,164 deletions.
84 changes: 0 additions & 84 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,90 +38,6 @@ builds:
- 6
- 7
mod_timestamp: '{{ .CommitTimestamp }}'
- id: gopass-git-credentials
dir: cmd/gopass-git-credentials
binary: gopass-git-credentials
flags:
- -trimpath
- -tags=netgo
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath={{.Env.GOPATH}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags: |
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
- id: gopass-hibp
dir: cmd/gopass-hibp
binary: gopass-hibp
flags:
- -trimpath
- -tags=netgo
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath={{.Env.GOPATH}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags: |
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
- id: gopass-jsonapi
dir: cmd/gopass-jsonapi
binary: gopass-jsonapi
flags:
- -trimpath
- -tags=netgo
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath={{.Env.GOPATH}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags: |
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
- id: gopass-summon-provider
dir: cmd/gopass-summon-provider
binary: gopass-summon-provider
flags:
- -trimpath
- -tags=netgo
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath={{.Env.GOPATH}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags: |
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -extldflags '-static'
goos:
- darwin
- linux
- windows
goarch:
- amd64
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: gopass
name_template: "{{.Binary}}-{{.Version}}-{{.Os}}-{{.Arch}}{{ if .Arm }}v{{.Arm }}{{ end }}"
Expand Down
26 changes: 1 addition & 25 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export GO111MODULE=on
OK := $(shell tput setaf 6; echo ' [OK]'; tput sgr0;)

all: build completion
build: $(GOPASS_OUTPUT) gopass-git-credentials gopass-hibp gopass-jsonapi gopass-summon-provider
build: $(GOPASS_OUTPUT)
completion: $(BASH_COMPLETION_OUTPUT) $(FISH_COMPLETION_OUTPUT) $(ZSH_COMPLETION_OUTPUT)
travis: sysinfo crosscompile build install fulltest codequality completion full
travis-osx: sysinfo build install test completion full
Expand Down Expand Up @@ -76,34 +76,10 @@ $(GOPASS_OUTPUT): $(GOFILES_BUILD)
@$(GO) build -o $@ $(BUILDFLAGS)
@printf '%s\n' '$(OK)'

gopass-git-credentials: $(GOFILES_BUILD)
@echo -n ">> BUILD, version = $(GOPASS_VERSION)/$(GOPASS_REVISION), output = $@"
@cd cmd/gopass-git-credentials && $(GO) build -o gopass-git-credentials $(BUILDFLAGS)
@printf '%s\n' '$(OK)'

gopass-hibp: $(GOFILES_BUILD)
@echo -n ">> BUILD, version = $(GOPASS_VERSION)/$(GOPASS_REVISION), output = $@"
@cd cmd/gopass-hibp && $(GO) build -o gopass-hibp $(BUILDFLAGS)
@printf '%s\n' '$(OK)'

gopass-jsonapi: $(GOFILES_BUILD)
@echo -n ">> BUILD, version = $(GOPASS_VERSION)/$(GOPASS_REVISION), output = $@"
@cd cmd/gopass-jsonapi && $(GO) build -o gopass-jsonapi $(BUILDFLAGS)
@printf '%s\n' '$(OK)'

gopass-summon-provider: $(GOFILES_BUILD)
@echo -n ">> BUILD, version = $(GOPASS_VERSION)/$(GOPASS_REVISION), output = $@"
@cd cmd/gopass-summon-provider && $(GO) build -o gopass-summon-provider $(BUILDFLAGS)
@printf '%s\n' '$(OK)'

install: all install-completion
@echo -n ">> INSTALL, version = $(GOPASS_VERSION)"
@install -m 0755 -d $(DESTDIR)$(BINDIR)
@install -m 0755 $(GOPASS_OUTPUT) $(DESTDIR)$(BINDIR)/gopass
@install -m 0755 cmd/gopass-git-credentials/gopass-git-credentials $(DESTDIR)$(BINDIR)/gopass-git-credentials
@install -m 0755 cmd/gopass-hibp/gopass-hibp $(DESTDIR)$(BINDIR)/gopass-hibp
@install -m 0755 cmd/gopass-jsonapi/gopass-jsonapi $(DESTDIR)$(BINDIR)/gopass-jsonapi
@install -m 0755 cmd/gopass-summon-provider/gopass-summon-provider $(DESTDIR)$(BINDIR)/gopass-summon-provider
@printf '%s\n' '$(OK)'

fulltest: $(GOPASS_OUTPUT)
Expand Down
1 change: 0 additions & 1 deletion cmd/gopass-git-credentials/.gitignore

This file was deleted.

254 changes: 0 additions & 254 deletions cmd/gopass-git-credentials/git-credential.go

This file was deleted.

Loading

0 comments on commit 9d830ae

Please sign in to comment.