From 5a7b1b6a28fdad3d701aaac51966048b751a00d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Quixada=CC=81?= <195494+lquixada@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:09:46 -0500 Subject: [PATCH] chore: added build and install aliases on make --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index ceea26c..4112d7b 100644 --- a/Makefile +++ b/Makefile @@ -35,11 +35,19 @@ node_modules: package.json @echo "=> installing dependencies..." @npm install && /usr/bin/touch node_modules +# alias for "node_modules" target +.PHONY: install +install: node_modules + dist: package.json rollup.config.js $(wildcard src/*.js) node_modules @echo "" @echo "=> make $@" @npx rollup -c --bundleConfigAsCjs && /usr/bin/touch dist +# alias for "dist" target +.PHONY: build +build: dist + test/fetch-api/api.spec.js: test/fetch-api/api.spec.ts @echo "" @echo "=> make $@"