diff --git a/Makefile b/Makefile index 46843f2..f97bf0d 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ CURRET_DIR=$(shell pwd) BINARY=./build/sgn BUILD=CGO_ENABLED=1 go build OUT_DIR=${CURRET_DIR}/build -BUILD_FLAGS=-trimpath -buildvcs=false -ldflags="-s -w -X github.com/EgeBalci/sgn/config.Version=$$(git log --pretty=format:'v2.0.1.%at-%h' -n 1)" -STATIC_BUILD_FLAGS=-trimpath -buildvcs=false -ldflags="-extldflags=-static -s -w -X github.com/EgeBalci/sgn/config.Version=$$(git log --pretty=format:'v2.0.1.%at-%h' -n 1)" +BUILD_FLAGS=-trimpath -buildvcs=false -ldflags="-s -w -X github.com/EgeBalci/sgn/config.Version=$$(git log --pretty=format:'v2.0.2-%at-%h' -n 1)" +STATIC_BUILD_FLAGS=-trimpath -buildvcs=false -ldflags="-extldflags=-static -s -w -X github.com/EgeBalci/sgn/config.Version=$$(git log --pretty=format:'v2.0.2-%at-%h' -n 1)" # Builds the project default: @@ -26,6 +26,8 @@ windows_386: GOOS=windows GOARCH=386 CGO_ENABLED=1 CGO_LDFLAGS="-lkeystone -L${CURRET_DIR}/build/lib32/dll/" CXX=i686-w64-mingw32-g++ CC=i686-w64-mingw32-gcc go build -ldflags="-s -w" -trimpath -o ${OUT_DIR}/sgn32.exe darwin_amd64: GOOS=darwin GOARCH=amd64 ${BUILD} ${BUILD_FLAGS} -o ${OUT_DIR}/ +darwin_arm: + GOOS=darwin GOARCH=arm64 ${BUILD} ${BUILD_FLAGS} -o ${OUT_DIR}/ # Cleans our project: deletes binaries clean: diff --git a/README.md b/README.md index c847a64..3765eda 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@
- + @@ -65,7 +65,7 @@ docker run -it egee/sgn ___ / / (_) /_____ _/ /____ _ ___ ____ _ ___ ___ _(_) (_-