mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-06 02:03:38 +00:00
build: correct order of building
This commit is contained in:
@@ -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() {
|
||||
|
||||
5
tox.toml
5
tox.toml
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user