1
0
Fork 0

Remove verbose flags

refactor/models
Bsian 2020-03-14 00:12:23 +00:00
parent 6903b3f304
commit d91d44e95d
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 25 additions and 25 deletions

View File

@ -1,25 +1,25 @@
# Builds TypeScript & Go # Builds TypeScript & Go
check_certificate_files := $(wildcard src/go/checkCertificate/*.go) check_certificate_files := $(wildcard src/go/checkCertificate/*.go)
check_certificate_signatures_files := $(wildcard src/go/checkCertSignatures/*.go) check_certificate_signatures_files := $(wildcard src/go/checkCertSignatures/*.go)
storage_files := $(wildcard src/go/storage/*.go) storage_files := $(wildcard src/go/storage/*.go)
all: check_certificate check_cert_signatures storage typescript all: check_certificate check_cert_signatures storage typescript
check_certificate: check_certificate:
HOME=/root go build -v -ldflags="-s -w" -o dist/bin/checkCertificate ${check_certificate_files} HOME=/root go build -ldflags="-s -w" -o dist/bin/checkCertificate ${check_certificate_files}
@chmod 740 dist/bin/checkCertificate @chmod 740 dist/bin/checkCertificate
file dist/bin/checkCertificate file dist/bin/checkCertificate
check_cert_signatures: check_cert_signatures:
HOME=/root go build -v -ldflags="-s -w" -o dist/bin/checkCertSignatures ${check_certificate_signatures_files} HOME=/root go build -ldflags="-s -w" -o dist/bin/checkCertSignatures ${check_certificate_signatures_files}
@chmod 740 dist/bin/checkCertSignatures @chmod 740 dist/bin/checkCertSignatures
file dist/bin/checkCertSignatures file dist/bin/checkCertSignatures
storage: storage:
HOME=/root go build -v -ldflags="-s -w" -o dist/bin/storage ${storage_files} HOME=/root go build -ldflags="-s -w" -o dist/bin/storage ${storage_files}
@chmod 740 dist/bin/storage @chmod 740 dist/bin/storage
file dist/bin/storage file dist/bin/storage
typescript: typescript:
tsc -p ./tsconfig.json tsc -p ./tsconfig.json