1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2024-12-14 14:29:56 +00:00
lemmy/scripts/ts_bindings_check.sh
Dessalines df664d9d9a
Upgrading ts_rs to 10.0.0 ()
* Upgrading ts_rs to 10.0.0

* Adding ts_option directives, and woodpecker test.

* Fixing ts_options.
2024-11-06 15:50:13 +01:00

15 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/