mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 08:11:20 +00:00
df664d9d9a
* Upgrading ts_rs to 10.0.0 * Adding ts_option directives, and woodpecker test. * Fixing ts_options.
14 lines
291 B
Bash
Executable file
14 lines
291 B
Bash
Executable file
#!/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/
|