Skip to content

Commit ccade36

Browse files
committed
Add scripts/apitypings/main.go to Makefile instead of using .PHONY
1 parent 3ca539c commit ccade36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ site/out/index.html: $(shell find ./site -not -path './site/node_modules/*' -typ
8383
# Restores GITKEEP files!
8484
git checkout HEAD site/out
8585

86-
site/src/api/typesGenerated.ts: $(shell find codersdk -type f -name '*.go')
86+
site/src/api/typesGenerated.ts: scripts/apitypings/main.go $(shell find codersdk -type f -name '*.go')
8787
go run scripts/apitypings/main.go > site/src/api/typesGenerated.ts
8888
cd site && yarn run format:types
89-
.PHONY: site/src/api/typesGenerated.ts
9089

9190
test:
9291
gotestsum -- -v -short ./...

0 commit comments

Comments
 (0)