mirror of
https://github.com/aclist/dztui.git
synced 2026-08-30 03:37:00 +02:00
Compare commits
No commits in common. "c080847efce8008c7d23baa189fdd2f6eefaa40d" and "8edb38f175f75f94cac805a88608c501e3ad2eec" have entirely different histories.
c080847efc
...
8edb38f175
@ -1,30 +1,18 @@
|
|||||||
# TODO: link to here from sphinx docs
|
# TODO: link to here from sphinx docs
|
||||||
|
|
||||||
## Installing from source
|
# Installing dev dependencies
|
||||||
|
uv pip install -e .[dev]
|
||||||
|
|
||||||
### Fetch submodules
|
# Setting up precommit hooks
|
||||||
git submodule update --recursive --init
|
|
||||||
|
|
||||||
### Install with dev dependencies
|
|
||||||
uv pip install -e '.[dev]'
|
|
||||||
|
|
||||||
This includes all dependencies for building, linting, testing, and checking in code.
|
|
||||||
If you optionally want to install only a subset of dev tools, replace 'dev' with the following flag:
|
|
||||||
|
|
||||||
build: package release deps
|
|
||||||
docs: documentation tools
|
|
||||||
lint: code linting, fixing, and type checking
|
|
||||||
test: unit and integration tests
|
|
||||||
|
|
||||||
## Miscellaneous
|
|
||||||
|
|
||||||
### Setting up precommit hooks
|
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
### Building documentation
|
# Fetching submodules
|
||||||
|
git submodule update --recursive --init
|
||||||
|
|
||||||
|
# Building documentation
|
||||||
sphinx-build -M html source build -a
|
sphinx-build -M html source build -a
|
||||||
|
|
||||||
### Building standalone release binaries
|
# Building standalone DZGUI release binaries
|
||||||
1. Set up the build target: `rustup target add x86_64-unknown-linux-musl`
|
1. Set up the build target: `rustup target add x86_64-unknown-linux-musl`
|
||||||
2. Run `python3 scripts/release.py`
|
2. Run `python3 scripts/release.py`
|
||||||
3. Generate a release and tag against the resulting tarfile generated in `dist`
|
3. Generate a release and tag against the bundled `dzgui` executable
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user