mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 05:41:18 +00:00
15 lines
291 B
Bash
15 lines
291 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
# This check is only used for CI.
|
||
|
|
||
|
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||
|
|
||
|
cd "$CWD/../"
|
||
|
|
||
|
# Export the ts-rs bindings
|
||
|
cargo test --workspace export_bindings
|
||
|
|
||
|
# Make sure no rows are returned
|
||
|
! grep -nr --include=\*.ts ' | null' ./crates/
|