summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-11-07 10:48:22 -0300
committerSebastian <sebasjm@gmail.com>2022-11-07 10:48:22 -0300
commitafa87c2cf48ac28e559b624196d45b4e77a68e3b (patch)
tree726f5b1e9de4e0a1cb25612bef2fa549239add61 /Makefile
parentbaaffb9da155ea6201251c79310affa39646b521 (diff)
downloadwallet-core-afa87c2cf48ac28e559b624196d45b4e77a68e3b.tar.gz
wallet-core-afa87c2cf48ac28e559b624196d45b4e77a68e3b.tar.bz2
wallet-core-afa87c2cf48ac28e559b624196d45b4e77a68e3b.zip
make compile as default when no target is specified
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
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/\'