Skip to content

Commit 98f4260

Browse files
committed
x
1 parent ab7e87f commit 98f4260

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.woodpecker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ steps:
1313
- cd plugins/rust_allowed_voters
1414
- cargo build
1515
- cp target/wasm32-unknown-unknown/debug/rust_allowed_voters.wasm ..
16+
when:
17+
- event: [pull_request, tag]
1618

1719
build_typescript_plugin:
1820
# need to use ubuntu instead of debian because extism-js requires newer glibc version

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ npm run build
3131

3232
## Rust: Allowed Voters
3333

34-
Listens to `new_vote` hook
34+
Listens to `new_vote` hook
35+
3536
```bash
3637
apt install cargo
3738
cd plugins/rust_allowed_voters
3839
cargo build
3940
cp target/wasm32-unknown-unknown/debug/rust_allowed_voters.wasm ..
4041
```
42+
4143
## Tests
4244

4345
This repository contains test cases for the plugins. To run them install `pnpm` and `postgresql`, with a database `postgres://lemmy:password@localhost:5432/lemmy`. Then compile all the plugins as described above, go into `tests` folder and execute `./run.sh`.

0 commit comments

Comments
 (0)