소스 검색

Fix pre-puch hook on macOS+brew

DarthSim 4 달 전
부모
커밋
cc5a45cb39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .lefthook/pre-push/test

+ 1 - 1
.lefthook/pre-push/test

@@ -8,7 +8,7 @@ if [ -x "$(which brew)" ]; then
 fi
 
 export CGO_LDFLAGS_ALLOW="-s|-w"
-export CGO_CFLAGS_ALLOW="-Xpreprocessor"
+export CGO_CFLAGS_ALLOW="-I|-Xpreprocessor"
 
 if [ -x "$(which gotestsum)" ]; then
   gotestsum ./...