mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
1.0 KiB
1.0 KiB
Repository Build & Test Instructions
Build Procedures
- Required dependencies: A C compiler (either clang or gcc) and a Go compiler. The Go compiler should be at least the version mentioned in the go.mod file. On Linux, the X11 development libraries are also needed.
- Bootstrap: Always run
./dev.sh depsto download all needed dependencies - Build command: Run
./dev.sh buildto build the project - Run
gen/config.pyto update generated config parsing code for both kitty and kitten. Thegen/go_code.pygenerator is run automatically by the build command to keep generated Go code files up to date. - To build individual kittens use the build command above do not try to run go build yourself.
Test Procedures
- To run the complete test suite, run
./test.py - To run a specific test, run
./test.py test-namettest-nameis the name of the test without the leadingtest_for Python tests and without the leadingTestfor Go tests.
Benchmarking
- To run the benchmark:
./benchmark.py