-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
c01f59c
commit 6838d70
Showing
445 changed files
with
395 additions
and
173,243 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,13 @@ | ||
GO_LINKER_SYMBOL := "main.version" | ||
|
||
all: test build | ||
|
||
clean: | ||
rm -rf _exe/ | ||
|
||
build: | ||
godep go build -x -o _exe/befehl executor/befehl_main.go | ||
go build -x -o _exe/befehl cmd/main/main.go | ||
|
||
test: | ||
godep go test -v | ||
|
||
install: ldflags | ||
go install -a ${LDFLAGS} ./... | ||
|
||
update-deps: godep | ||
godep save -r ./... | ||
|
||
godep: | ||
go get -u github.com/tools/godep | ||
|
||
glv: | ||
$(eval GO_LINKER_VALUE := $(shell git describe --tags --always)) | ||
|
||
ldflags: glv | ||
$(eval LDFLAGS := -ldflags "-X ${GO_LINKER_SYMBOL} ${GO_LINKER_VALUE}") | ||
go test -v | ||
|
||
ver: | ||
$(eval VERSION := $(shell echo ${GO_LINKER_VALUE} | sed s/^v//)) | ||
update-deps: | ||
go get -u |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
module github.com/sgsullivan/befehl | ||
|
||
go 1.15 | ||
|
||
require ( | ||
github.com/fatih/color v1.10.0 | ||
github.com/fsnotify/fsnotify v1.4.9 // indirect | ||
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c | ||
github.com/magiconair/properties v1.8.5 // indirect | ||
github.com/mitchellh/mapstructure v1.4.1 // indirect | ||
github.com/pelletier/go-toml v1.9.0 // indirect | ||
github.com/spf13/afero v1.6.0 // indirect | ||
github.com/spf13/cast v1.3.1 // indirect | ||
github.com/spf13/cobra v1.1.3 | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/viper v1.7.1 | ||
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b | ||
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 // indirect | ||
golang.org/x/term v0.0.0-20210422114643-f5beecf764ed // indirect | ||
golang.org/x/text v0.3.6 // indirect | ||
gopkg.in/ini.v1 v1.62.0 // indirect | ||
) |
Oops, something went wrong.