Initial commit: noxis JVM bytecode obfuscator
Workspace of 9 crates (noxis, noxis-core, noxis-classfile, noxis-analysis, noxis-passes, noxis-runtime, noxis-jar, noxis-verify, noxis-structure-check). AGPL-3.0-only license, Rust 2024 edition, unsafe_code denied.
This commit is contained in:
commit
a641e69455
140 changed files with 17197 additions and 0 deletions
22
scripts/check.sh
Executable file
22
scripts/check.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
# Единая проверка проекта.
|
||||
#
|
||||
# Структурные правила (<=250 строк на файл, <=4 файла в директории) гоняются
|
||||
# гейтом в build.rs каждого крейта, поэтому шаг 1 ловит их и без этого скрипта.
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> 1/4 structure rules + build.rs gate"
|
||||
cargo check --workspace --all-targets
|
||||
|
||||
echo "==> 2/4 rustfmt"
|
||||
cargo fmt --all -- --check
|
||||
|
||||
echo "==> 3/4 clippy (warnings are errors)"
|
||||
cargo clippy --workspace --all-targets -- -D warnings
|
||||
|
||||
echo "==> 4/4 tests"
|
||||
cargo test --workspace
|
||||
|
||||
echo "OK"
|
||||
Loading…
Add table
Add a link
Reference in a new issue