Skip to content

Commit 29f9266

Browse files
committed
chore: improve makefile deps
1 parent e953b9e commit 29f9266

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ SRCS = $(wildcard lib/**)
33

44
all: dist
55

6-
.PHONY: deps
7-
deps: node_modules
8-
96
.PHONY: clean
10-
clean:
7+
clean: node_modules
118
pnpm exec tsc -b --clean
129

1310
.PHONY: test
14-
test: __tests__/fixtures/oas31.json
11+
test: node_modules
1512
pnpm exec tsc
1613
pnpm exec vitest
1714

@@ -22,10 +19,10 @@ dist: node_modules tsconfig.json $(SRCS)
2219
pnpm exec tsc
2320

2421
.PHONY: dist-watch
25-
dist-watch:
22+
dist-watch: node_modules
2623
pnpm exec tsc -w --preserveWatchOutput
2724

2825
.PHONY: pretty
2926
pretty: node_modules
3027
pnpm exec eslint --fix . || true
31-
pnpm exec prettier --write .
28+
pnpm exec prettier --write .

0 commit comments

Comments
 (0)