mirror of
https://github.com/strongdm/comply
synced 2025-12-15 02:34:13 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53dfead0b0 | ||
|
|
b569cb13d9 | ||
|
|
81ece97296 | ||
|
|
f732f7bb69 | ||
|
|
7a15435a49 |
4
Makefile
4
Makefile
@@ -7,7 +7,7 @@ assets: $(THEME_SOURCES)
|
||||
@go get github.com/elazarl/go-bindata-assetfs/...
|
||||
@go install github.com/elazarl/go-bindata-assetfs
|
||||
go-bindata-assetfs -o bindata.go -pkg theme -prefix themes themes/...
|
||||
mv bindata_assetfs.go internal/theme/themes_bindata.go
|
||||
mv bindata.go internal/theme/themes_bindata.go
|
||||
|
||||
comply: assets $(GO_SOURCES)
|
||||
@# $(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||
@@ -15,7 +15,7 @@ comply: assets $(GO_SOURCES)
|
||||
go build $(LDFLAGS) github.com/strongdm/comply/cmd/comply
|
||||
|
||||
dist: clean
|
||||
$(eval VERSION := $(shell cat VERSION))
|
||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
||||
$(eval LDFLAGS := -ldflags='-X "cli.Version=$(VERSION)"')
|
||||
mkdir dist
|
||||
echo $(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user