The fleet (cnx-network-clan, modules/visa) takes the server from this flake: crane builds one binary with its templates, static files and migrations compiled in. The tests need PostgreSQL, so the build runs none; CI and the fleet's VM test cover them. Built against the fleet's nixpkgs (Rust 1.95): 9.8 MB, closure 58 MB.
13 lines
431 B
Plaintext
13 lines
431 B
Plaintext
# sqlx checksums migration files byte for byte: a CRLF checkout on Windows
|
|
# would no longer match a database migrated from an LF checkout.
|
|
migrations/*.sql text eol=lf
|
|
# Scripts run by bash, also from a Windows checkout.
|
|
*.sh text eol=lf
|
|
.githooks/* text eol=lf
|
|
.gitea/scripts/* text eol=lf
|
|
*.png binary
|
|
*.pdf binary
|
|
# Nix reads flake.lock as JSON either way; keep both LF like the fleet.
|
|
*.nix text eol=lf
|
|
flake.lock text eol=lf
|