Skip to content

Commit

Permalink
chore: added pipe to targets' prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
lquixada committed May 6, 2023
1 parent 0f48179 commit 6936421
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@ typecheck:
# Test groups

.PHONY: test
test: test-browser test-node
test: | test-browser test-node

.PHONY: test-browser
test-browser: \
test-browser: |\
test-fetch-browser-native \
test-fetch-browser-whatwg \
test-module-web-cjs \
test-module-web-esm \
test-module-react-native

.PHONY: test-node
test-node: \
test-node: |\
test-fetch-node-native \
test-fetch-node-fetch \
test-module-node-cjs \
Expand All @@ -95,55 +95,55 @@ test-node: \
# Test units

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

.PHONY: test-fetch-browser-whatwg
test-fetch-browser-whatwg: dist test/fetch-api/api.spec.js
test-fetch-browser-whatwg: | dist test/fetch-api/api.spec.js
@echo ""
@echo "=> make $@"
@./test/fetch-api/whatwg/run.sh

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

.PHONY: test-fetch-node-fetch
test-fetch-node-fetch: dist test/fetch-api/api.spec.js
test-fetch-node-fetch: | dist test/fetch-api/api.spec.js
@echo ""
@echo "=> make $@"
@./test/fetch-api/node-fetch/run.sh

.PHONY: test-module-web-cjs
test-module-web-cjs: dist
test-module-web-cjs: | dist
@echo ""
@echo "=> make $@"
@./test/module-system/web.cjs/run.sh

.PHONY: test-module-web-esm
test-module-web-esm: dist
test-module-web-esm: | dist
@echo ""
@echo "=> make $@"
@./test/module-system/web.esm/run.sh

.PHONY: test-module-node-cjs
test-module-node-cjs: dist
test-module-node-cjs: | dist
@echo ""
@echo "=> make $@"
@./test/module-system/node.cjs/run.sh

.PHONY: test-module-node-esm
test-module-node-esm: dist
test-module-node-esm: | dist
@echo ""
@echo "=> make $@"
@./test/module-system/node.esm/run.sh

.PHONY: test-module-react-native
test-module-react-native: dist
test-module-react-native: | dist
@echo ""
@echo "=> make $@"
@./test/module-system/react-native/run.sh

0 comments on commit 6936421

Please sign in to comment.