mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
13
Makefile
13
Makefile
@@ -48,27 +48,28 @@ functional-tests-all:
|
||||
$(GO) build -o functional-tests/sops go.mozilla.org/sops/v3/cmd/sops
|
||||
cd functional-tests && cargo test && cargo test -- --ignored
|
||||
|
||||
deb-pkg: install
|
||||
deb-pkg: vendor
|
||||
rm -rf tmppkg
|
||||
mkdir -p tmppkg/usr/local/bin
|
||||
cp $$GOPATH/bin/sops tmppkg/usr/local/bin/
|
||||
GOOS=linux CGO_ENABLED=0 go build -mod vendor -o tmppkg/usr/local/bin/sops go.mozilla.org/sops/v3/cmd/sops
|
||||
fpm -C tmppkg -n sops --license MPL2.0 --vendor mozilla \
|
||||
--description "Sops is an editor of encrypted files that supports YAML, JSON and BINARY formats and encrypts with AWS KMS and PGP." \
|
||||
-m "Julien Vehent <jvehent+sops@mozilla.com>" \
|
||||
-m "AJ Bahnken <ajvb+sops@mozilla.com>" \
|
||||
--url https://go.mozilla.org/sops \
|
||||
--architecture x86_64 \
|
||||
-v "$$(grep '^const Version' version/version.go |cut -d \" -f 2)" \
|
||||
-s dir -t deb .
|
||||
|
||||
rpm-pkg: install
|
||||
rpm-pkg: vendor
|
||||
rm -rf tmppkg
|
||||
mkdir -p tmppkg/usr/local/bin
|
||||
cp $$GOPATH/bin/sops tmppkg/usr/local/bin/
|
||||
GOOS=linux CGO_ENABLED=0 go build -mod vendor -o tmppkg/usr/local/bin/sops go.mozilla.org/sops/v3/cmd/sops
|
||||
fpm -C tmppkg -n sops --license MPL2.0 --vendor mozilla \
|
||||
--description "Sops is an editor of encrypted files that supports YAML, JSON and BINARY formats and encrypts with AWS KMS and PGP." \
|
||||
-m "Julien Vehent <jvehent+sops@mozilla.com>" \
|
||||
-m "AJ Bahnken <ajvb+sops@mozilla.com>" \
|
||||
--url https://go.mozilla.org/sops \
|
||||
--architecture x86_64 \
|
||||
--rpm-os linux \
|
||||
-v "$$(grep '^const Version' version/version.go |cut -d \" -f 2)" \
|
||||
-s dir -t rpm .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user