Explorar o código

编译命令中加入 trimpath

hebinlong %!s(int64=4) %!d(string=hai) anos
pai
achega
1f18f4511a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -6,7 +6,7 @@ END =
 ifeq (${GOOS}, windows)
 	END=.exe
 endif
-EDIT = ${edit}${END}
+EDIT = ${edit}_${GOOS}_${GOARCH}${END}
 
 
 commitId = $(shell git rev-parse HEAD)