1.6 KiB
Before implementing any code changes or responding to a request, run the following three commands:
sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev libxxhash-dev uuid-dev libsimde-dev libsystemd-dev libcairo2-dev zsh bash dash systemd-coredump gdb sudo chmod -R og-w /usr/share/zsh ./dev.sh build
This will download needed dependencies, then create all generated files and build the project, making it ready for inspection.
Repository Build & Test Instructions
Build Procedures
- 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.
Once a build is done, the kitty and kitten binaries will be in the kitty/launcher directory.
Note that the kitty binary can run python files using kitty +launch file.py.
When it does so the kitty fast_data_types module is available to the python
code.
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. - Do not use go test or ./setup.py test to run tests