fix spa dir

This commit is contained in:
Sebastian 2023-06-05 09:42:10 -03:00
parent cf8c0725a4
commit df53866e6b
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069
2 changed files with 2 additions and 3 deletions

View File

@ -13,6 +13,5 @@ install:
pnpm run check pnpm run check
pnpm run build pnpm run build
install -d $(spa_dir) install -d $(spa_dir)
rm -rf ./dist/components install ./dist/prod/* $(spa_dir)
install ./dist/* $(spa_dir)

View File

@ -11,5 +11,5 @@ spa_dir=$(prefix)/share/taler/merchant-backoffice
install: install:
pnpm install --frozen-lockfile --filter @gnu-taler/merchant-backoffice... pnpm install --frozen-lockfile --filter @gnu-taler/merchant-backoffice...
pnpm run build pnpm run build
(cd dist && find . -type f -exec install -D "{}" "$(spa_dir)/{}" \;) (cd dist/prod && find . -type f -exec install -D "{}" "$(spa_dir)/{}" \;)