From afa87c2cf48ac28e559b624196d45b4e77a68e3b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 7 Nov 2022 10:48:22 -0300 Subject: make compile as default when no target is specified --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a7cc378b7..59655cea5 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,12 @@ git-archive-all = ./build-system/taler-build-scripts/archive-with-submodules/git include .config.mk +.PHONY: compile +compile: + pnpm install -r --frozen-lockfile + pnpm run compile + + .PHONY: dist dist: $(git-archive-all) \ @@ -41,11 +47,6 @@ clean: submodules-update: git submodule update --recursive --remote -.PHONY: compile -compile: - pnpm install -r --frozen-lockfile - pnpm run compile - .PHONY: check check: pnpm install -r --frozen-lockfile @@ -88,5 +89,5 @@ lint: ./node_modules/.bin/eslint --ext '.js,.ts,.tsx' 'src' -install: +install: compile @echo Please run \'make install\' from one of the directories in packages/\' -- cgit v1.2.3