mirror of
https://github.com/AtHeartEngineer/lemmy.git
synced 2026-01-09 21:48:22 -05:00
Upgrading ts_rs to 10.0.0 (#5163)
* Upgrading ts_rs to 10.0.0 * Adding ts_option directives, and woodpecker test. * Fixing ts_options.
This commit is contained in:
14
scripts/ts_bindings_check.sh
Executable file
14
scripts/ts_bindings_check.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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/
|
||||
Reference in New Issue
Block a user