소스 검색

编译命令中加入 trimpath

hebinlong 4 년 전
부모
커밋
1f18f4511a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)