# This Makefile has been placed in the public domain. PORT = 8080 include ./build-system/config.mk .PHONY: compile compile: pnpm i -r --frozen-lockfile 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: pnpm run typedoc .PHONY: clean clean: pnpm run clean .PHONY: build build: pnpm run build .PHONY: build build-single: pnpm run build-single --filter merchant-backoffice @echo Build done, result at: 'packages/frontend/single/index.html' .PHONY: submodules-update submodules-update: git submodule update --recursive --remote .PHONY: check check: compile lint 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-ui dev-ui: compile pnpm run --filter merchant-backoffice storybook .PHONY: lint lint: pnpm run lint .PHONY: dist dist: build (cd packages/frontend/build && zip -r - .) > merchant-backoffice.zip .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 .PHONY: install install-view: pnpm run --filter merchant-backoffice build-storybook echo install -d ${prefix} for file in `find packages/frontend/storybook-static/ -type f`; do \ install -m 644 -D $$file ${prefix}/$${file#packages/frontend/storybook-static/}; \ done .PHONY: i18n i18n: ./build-translations.sh