This commit is contained in:
parent
3ce3161c68
commit
2e77c46fd0
2 changed files with 51 additions and 0 deletions
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# pagefind
|
||||
|
||||
Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.
|
48
package.yml
Normal file
48
package.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
name : pagefind
|
||||
version : 1.3.0
|
||||
release : 1
|
||||
source :
|
||||
- https://github.com/CloudCannon/pagefind/archive/refs/tags/v1.3.0.tar.gz : d171b75b6d255a5e5e7c36584509417ab3cc73936d5d851660dc93aa8eecf32b
|
||||
license : MIT
|
||||
component : programming.tools
|
||||
homepage : https://pagefind.app/
|
||||
summary : Generate low-bandwidth search index for your static website
|
||||
description: |
|
||||
Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.
|
||||
builddeps :
|
||||
- nodejs
|
||||
- rustup
|
||||
- wasm-pack
|
||||
networking : yes
|
||||
setup : |
|
||||
rustup default stable
|
||||
rustup target add wasm32-unknown-unknown
|
||||
|
||||
(
|
||||
cd pagefind_web_js
|
||||
npm i
|
||||
npm run build-coupled
|
||||
)
|
||||
|
||||
(
|
||||
cd pagefind_ui/default
|
||||
npm i
|
||||
npm run build
|
||||
)
|
||||
|
||||
(
|
||||
cd pagefind_ui/modular
|
||||
npm i
|
||||
npm run build
|
||||
)
|
||||
|
||||
(
|
||||
cd pagefind_web
|
||||
bash ./local_build.sh
|
||||
)
|
||||
|
||||
%cargo_fetch
|
||||
build : |
|
||||
%cargo_build
|
||||
install : |
|
||||
%cargo_install
|
Loading…
Add table
Add a link
Reference in a new issue