mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 18:08:15 +03:00
* feat: i'm really worried about this bit, but empiricism will win * feat: light driving * feat: migrate over user game status * feat: custom scrollbar, and migrate over settings * feat: eamusement csv movement * fix: rm debug * feat: shark reaction * checkpoint * feat: get tests passing again * checkpoint * feat: bms table sync * feat: ugs snapshot and backsync bms pms * feat: checkpoint * feat: iidx playlists * manic depression * continues * fly * happy house * we're happy here * I think. 6 years is enough for me. This is killing me, and I am dying.
17 lines
632 B
Plaintext
17 lines
632 B
Plaintext
# Scripts that generate code/types/etc.
|
|
#
|
|
# `just gen` is the god command here; runs all generation scripts.
|
|
|
|
gen: gen-kanel gen-proto
|
|
|
|
# Generate kanel types from the postgres definitions in Tachi.
|
|
gen-kanel: (db-cheap-reset "templatedb")
|
|
bun run kanel -d "{{ POSTGRES_URL }}/templatedb" -c db/kanel_config.js
|
|
just fmt
|
|
|
|
# Generate protobuf types from the proto definitions in the server.
|
|
# Uses buf + protoc-gen-es (ESM message types) and protoc-gen-connect-es
|
|
# (Connect/gRPC service clients), both generating proper TypeScript/ESM.
|
|
gen-proto:
|
|
cd typescript/server && PATH="../../node_modules/.bin:$PATH" buf generate
|
|
just fmt |