summaryrefslogtreecommitdiff
path: root/build-system/Makefile
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-02-19 17:00:31 -0300
committerSebastian <sebasjm@gmail.com>2021-02-19 17:12:00 -0300
commit6aba8b53ce84c6b723a5c8c31179fd23d132d7c7 (patch)
treeef0746fd10864cda14ed4d9ac5c1b30364a444a5 /build-system/Makefile
parenteecd261cef52c4ccebf5eb49f2326aa86e12f0f8 (diff)
downloadmerchant-backoffice-6aba8b53ce84c6b723a5c8c31179fd23d132d7c7.tar.gz
merchant-backoffice-6aba8b53ce84c6b723a5c8c31179fd23d132d7c7.tar.bz2
merchant-backoffice-6aba8b53ce84c6b723a5c8c31179fd23d132d7c7.zip
better readme, updated makefile with more commands, add config context, switch to nodejs 12
Diffstat (limited to 'build-system/Makefile')
-rw-r--r--build-system/Makefile28
1 files changed, 22 insertions, 6 deletions
diff --git a/build-system/Makefile b/build-system/Makefile
index 36279d5..c819c48 100644
--- a/build-system/Makefile
+++ b/build-system/Makefile
@@ -15,13 +15,13 @@ compile:
pnpm i -r
pnpm run compile
-.PHONY: dist
-dist:
- $(git-archive-all) --include ./configure taler-wallet-$(shell git describe --tags).tar.gz
+# .PHONY: dist
+# dist:
+# $(git-archive-all) --include ./configure taler-wallet-$(shell git describe --tags).tar.gz
-.PHONY: publish
-publish: compile
- pnpm publish -r --no-git-checks
+# .PHONY: publish
+# publish: compile
+# pnpm publish -r --no-git-checks
# make documentation from docstrings
.PHONY: typedoc
@@ -32,6 +32,10 @@ typedoc:
clean:
pnpm run clean
+.PHONY: build
+build:
+ pnpm run build
+
.PHONY: submodules-update
submodules-update:
git submodule update --recursive --remote
@@ -40,6 +44,18 @@ submodules-update:
check: compile
pnpm run check
+.PHONY: dev
+dev: compile
+ pnpm run --filter merchant-backoffice dev
+
+.PHONY: serve
+serve: build
+ pnpm run --filter merchant-backoffice serve
+
+.PHONY: dev-view
+dev-view: compile
+ pnpm run --filter merchant-backoffice storybook
+
.PHONY: lint
lint:
pnpm run lint