Nicole Tietz-Sokolskaya
6ea4409d68
A collection of small changes: - Switch from using a boolean for permission check results to using an enum (allowed or denied) - Remove some unused Makefile commands left over from a previous migration, add a check command - Change some hardcoded paths to be relative paths - Remove unused embed_migrations (duplicated) - Log error when checking permissions if a user belongs to a project multiple times Reviewed-on: #5
24 lines
421 B
Makefile
24 lines
421 B
Makefile
|
|
check:
|
|
cargo test
|
|
cargo fmt --check
|
|
cargo clippy
|
|
cargo build --release
|
|
|
|
run:
|
|
SECURE_SESSIONS=false RUST_LOG=debug cargo run -- --reload-templates
|
|
|
|
run-watch:
|
|
SECURE_SESSIONS=false RUST_LOG=debug cargo watch --why -x 'run -- --reload-templates'
|
|
|
|
run-release:
|
|
SECURE_SESSIONS=false RUST_LOG=info cargo run --release
|
|
|
|
css-watch:
|
|
npm run css-watch
|
|
|
|
typescript:
|
|
npm run build
|
|
|
|
typescript-watch:
|
|
npm run build-watch
|