build: migrate from make to just
This commit is contained in:
parent
d8e4683be8
commit
af025856c7
5 changed files with 157 additions and 70 deletions
31
README.md
Normal file
31
README.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# cosmic-comp
|
||||
Compositor for the COSMIC desktop environment
|
||||
|
||||
## Development
|
||||
|
||||
This project uses [just](https://github.com/casey/just) as a command runner.
|
||||
|
||||
### Available Commands
|
||||
|
||||
#### Building
|
||||
- `just build-debug` - Compile with debug profile
|
||||
- `just build-release` - Compile with release profile (default)
|
||||
- `just build-vendored` - Compile release profile with vendored dependencies
|
||||
- Requires vendoring first, which can be done with `just vendor`
|
||||
|
||||
#### Code Quality
|
||||
- `just check` - Run clippy linter with pedantic warnings
|
||||
|
||||
#### Installation
|
||||
- `just install` - Install binary and configuration files
|
||||
- `just install-bare-session` - Install with bare session files (wayland session, systemd units)
|
||||
- `just uninstall` - Remove installed files
|
||||
- `just uninstall-bare-session` - Remove installed files including bare session files
|
||||
|
||||
#### Cleanup
|
||||
- `just clean` - Run `cargo clean`
|
||||
- `just clean-dist` - Run `cargo clean` and remove vendored dependencies
|
||||
|
||||
#### Vendoring
|
||||
- `just vendor` - Vendor dependencies locally and create vendor.tar
|
||||
- `just vendor-extract` - Extract vendored dependencies from vendor.tar
|
||||
Loading…
Add table
Add a link
Reference in a new issue