Skip to content

Commit

Permalink
refactor: renamed make compile to make ts-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
lquixada committed Apr 29, 2023
1 parent 69aa538 commit d6eade9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ dist:
@echo "=> make $@"
@npx rollup -c --bundleConfigAsCjs

.PHONY: compile
compile: test/fetch-api/api.spec.ts
.PHONY: ts-compile
ts-compile: test/fetch-api/api.spec.ts
@echo ""
@echo "=> make $@"
@npx tsc
Expand Down Expand Up @@ -73,7 +73,7 @@ typecheck:
# Test groups

.PHONY: test
test: compile test-browser test-node
test: ts-compile test-browser test-node

.PHONY: test-browser
test-browser: \
Expand All @@ -95,25 +95,25 @@ test-node: \
# Test units

.PHONY: test-fetch-browser-native
test-fetch-browser-native: dist
test-fetch-browser-native: dist ts-compile
@echo ""
@echo "=> make $@"
@./test/fetch-api/browser/run.sh

.PHONY: test-fetch-browser-whatw
test-fetch-browser-whatwg: dist
test-fetch-browser-whatwg: dist ts-compile
@echo ""
@echo "=> make $@"
@./test/fetch-api/whatwg/run.sh

.PHONY: test-fetch-node-native
test-fetch-node-native: dist
test-fetch-node-native: dist ts-compile
@echo ""
@echo "=> make $@"
@./test/fetch-api/node/run.sh

.PHONY: test-fetch-node-fetch
test-fetch-node-fetch: dist
test-fetch-node-fetch: dist ts-compile
@echo ""
@echo "=> make $@"
@./test/fetch-api/node-fetch/run.sh
Expand Down

0 comments on commit d6eade9

Please sign in to comment.