build: correct order of building

This commit is contained in:
2026-03-06 01:31:53 +02:00
parent 90a78e99e7
commit 2563391aaf
2 changed files with 6 additions and 6 deletions

View File

@@ -17,11 +17,10 @@ source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgbase-$
build() {
cd "$pkgbase-$pkgver"
python -m build --wheel --no-isolation
npm --prefix "frontend" install --cache "$srcdir/npm-cache"
npm --prefix "frontend" run build
cd "frontend"
npm install --cache "$srcdir/npm-cache"
npm run build
python -m build --wheel --no-isolation
}
package_ahriman() {

View File

@@ -268,12 +268,13 @@ commands = [
[
"git",
"add",
"package/archlinux/PKGBUILD",
"src/ahriman/__init__.py",
"docs/_static/architecture.dot",
"frontend/package.json",
"package/archlinux/PKGBUILD",
"package/share/man/man1/ahriman.1",
"package/share/bash-completion/completions/_ahriman",
"package/share/zsh/site-functions/_ahriman",
"src/ahriman/__init__.py",
],
[
"git",