Skip to content

Commit a99045d

Browse files
prakash100198subhashish-devtron
authored andcommitted
fix: Makefile correction (#3852)
* GOFLAGS flag introduced in * ea makefile fix
1 parent d9bd011 commit a99045d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ build: clean wire
2727
-X 'github.com/devtron-labs/devtron/util.ServerMode=${SERVER_MODE_FULL}'"
2828

2929
wire:
30+
export GOFLAGS=-buildvcs=false
3031
wire
3132

3233
clean:
33-
rm -f devtron
34+
rm -rf devtron
3435

3536
test-all: test-unit
3637
echo 'test cases ran successfully'

cmd/external-app/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ build: clean wire
2121
-X 'github.com/devtron-labs/devtron/util.ServerMode=${SERVER_MODE_EA_ONLY}'"
2222

2323
wire:
24+
export GOFLAGS=-buildvcs=false
2425
wire
2526

2627
clean:
27-
rm -f devtron-ea
28+
rm -rf devtron-ea
2829

2930
run: build
3031
./devtron-ea

0 commit comments

Comments
 (0)