mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-06 10:13:39 +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() {
|
build() {
|
||||||
cd "$pkgbase-$pkgver"
|
cd "$pkgbase-$pkgver"
|
||||||
|
|
||||||
python -m build --wheel --no-isolation
|
npm --prefix "frontend" install --cache "$srcdir/npm-cache"
|
||||||
|
npm --prefix "frontend" run build
|
||||||
|
|
||||||
cd "frontend"
|
python -m build --wheel --no-isolation
|
||||||
npm install --cache "$srcdir/npm-cache"
|
|
||||||
npm run build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_ahriman() {
|
package_ahriman() {
|
||||||
|
|||||||
5
tox.toml
5
tox.toml
@@ -268,12 +268,13 @@ commands = [
|
|||||||
[
|
[
|
||||||
"git",
|
"git",
|
||||||
"add",
|
"add",
|
||||||
"package/archlinux/PKGBUILD",
|
|
||||||
"src/ahriman/__init__.py",
|
|
||||||
"docs/_static/architecture.dot",
|
"docs/_static/architecture.dot",
|
||||||
|
"frontend/package.json",
|
||||||
|
"package/archlinux/PKGBUILD",
|
||||||
"package/share/man/man1/ahriman.1",
|
"package/share/man/man1/ahriman.1",
|
||||||
"package/share/bash-completion/completions/_ahriman",
|
"package/share/bash-completion/completions/_ahriman",
|
||||||
"package/share/zsh/site-functions/_ahriman",
|
"package/share/zsh/site-functions/_ahriman",
|
||||||
|
"src/ahriman/__init__.py",
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"git",
|
"git",
|
||||||
|
|||||||
Reference in New Issue
Block a user