Browse Source

编译命令中加入 trimpath

hebinlong 4 năm trước cách đây
mục cha
commit
1f18f4511a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)