commit afa87c2cf48ac28e559b624196d45b4e77a68e3b
parent baaffb9da155ea6201251c79310affa39646b521
Author: Sebastian <sebasjm@gmail.com>
Date: Mon, 7 Nov 2022 10:48:22 -0300
make compile as default when no target is specified
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git 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/\'