aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 20e8d886c..b4a24c5e3 100644
--- a/Makefile
+++ b/Makefile
@@ -115,12 +115,20 @@ lint:
./node_modules/.bin/eslint --ext '.js,.ts,.tsx' 'src'
-install: compile
- @echo Please run \'make install\' from one of the directories in packages/\'
+.PHONY: install
+# Build and install everything
+install:
+ pnpm install
+ pnpm run compile
+ make -C packages/taler-wallet-cli TOPLEVEL=yes install-nodeps
+ make -C packages/taler-harness TOPLEVEL=yes install-nodeps
+ make -C packages/demobank-ui TOPLEVEL=yes install-nodeps
+ make -C packages/merchant-backoffice-ui TOPLEVEL=yes install-nodeps
+.PHONY: install-tools
# Install taler-wallet-cli and taler-harness
install-tools:
pnpm install --frozen-lockfile --filter @gnu-taler/taler-wallet-cli... --filter @gnu-taler/taler-harness...
pnpm run --filter @gnu-taler/taler-wallet-cli... --filter @gnu-taler/taler-harness... compile
- make -C packages/taler-wallet-cli install-nodeps
- make -C packages/taler-harness install-nodeps
+ make -C packages/taler-wallet-cli TOPLEVEL=yes install-nodeps
+ make -C packages/taler-harness TOPLEVEL=yes install-nodeps