All checks were successful
/ publish_password (push) Successful in 6m40s
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
18 lines
No EOL
445 B
Makefile
18 lines
No EOL
445 B
Makefile
ARCH := amd64 arm64
|
|
OS := linux windows darwin
|
|
NAME := password
|
|
|
|
.PHONY: all build_password
|
|
|
|
all: build_password
|
|
|
|
build_password:
|
|
$(foreach GOOS, ${OS},\
|
|
$(foreach GOARCH, ${ARCH}, \
|
|
$(shell CGO_ENABLED=0 go build -v -o bin/${NAME} ./golang/cmd/passwordhash;cd bin/;[ "${GOOS}" = "windows" ] && mv ${NAME} ${NAME}.exe;tar czf ${NAME}_${GOOS}_${GOARCH}.tar.gz *;rm -f ${NAME} ${NAME}.exe) \
|
|
))
|
|
|
|
clean:
|
|
rm -rf bin
|
|
|
|
re: clean all |