diff options
author | Sebastian <sebasjm@gmail.com> | 2021-02-23 16:43:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-02-23 16:43:29 -0300 |
commit | 808934fae5968ae0d967bdd3d1d5f5ba9322881e (patch) | |
tree | 29959cebebea4ce1791e40fc5a8fde0d3f9dacea /build-system | |
parent | 2a54606abd6b00fb33381e07d8a31b20c2ff25fb (diff) | |
download | merchant-backoffice-808934fae5968ae0d967bdd3d1d5f5ba9322881e.tar.gz merchant-backoffice-808934fae5968ae0d967bdd3d1d5f5ba9322881e.tar.bz2 merchant-backoffice-808934fae5968ae0d967bdd3d1d5f5ba9322881e.zip |
installation script
Diffstat (limited to 'build-system')
-rw-r--r-- | build-system/Makefile | 15 | ||||
-rw-r--r-- | build-system/config.mk | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/build-system/Makefile b/build-system/Makefile index fc57ad5..37a44b9 100644 --- a/build-system/Makefile +++ b/build-system/Makefile @@ -10,10 +10,18 @@ compile: pnpm i -r pnpm run compile +# .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 +# make documentation from docstrings +.PHONY: echo +echo: + echo ${PORT} .PHONY: typedoc typedoc: @@ -50,3 +58,10 @@ dev-view: compile .PHONY: lint lint: pnpm run lint + +.PHONY: install +install: build + echo install -d ${prefix} + for file in `find packages/frontend/build/ -type f`; do \ + install -m 644 -D $$file ${prefix}/$${file#packages/frontend/build/}; \ + done diff --git a/build-system/config.mk b/build-system/config.mk index 4684cc4..997b348 100644 --- a/build-system/config.mk +++ b/build-system/config.mk @@ -1,5 +1,5 @@ # this makefile fragment is autogenerated by configure.py -prefix = /usr/local +prefix = /home/sebasjm/local-taler make = make node = node npm = npm |