0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00
libsignal/justfile
Alex Konradi 31c19ae8af
Add justfile with a few recipes
Co-authored-by: moiseev-signal <122060238+moiseev-signal@users.noreply.github.com>
2024-03-25 15:09:33 -04:00

22 lines
676 B
Makefile

# List of commands runnable with https://github.com/casey/just
#
# When adding new recipes, include a one-line comment describing the behavior
# to be displayed by `just --list` next to the name.
_default:
echo "no default recipe; run with --list to see all recipes"
exit 1
# Regenerate bridge code for all three app languages.
generate-bridge:
rust/bridge/jni/bin/gen_java_decl.py
rust/bridge/node/bin/gen_ts_decl.py
swift/build_ffi.sh --generate-ffi
# Auto-format code in Java, Rust, Swift, and TypeScript
format-all:
cargo fmt
(cd swift && swiftformat --swiftversion 5 .)
(cd node && yarn format)
(cd java && ./gradlew spotlessApply)