feat!: implement Application API

This commit is contained in:
Michael Murphy 2023-08-02 11:54:07 +02:00 committed by GitHub
parent e24465ba37
commit a223b60a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1420 additions and 138 deletions

14
justfile Normal file
View file

@ -0,0 +1,14 @@
# Check for errors and linter warnings
check *args:
cargo clippy --no-deps {{args}} -- -W clippy::pedantic
cargo clippy --no-deps --no-default-features --features="winit,tokio" {{args}} -- -W clippy::pedantic
cargo check -p application {{args}}
cargo check -p cosmic {{args}}
cargo check -p cosmic_sctk {{args}}
# Runs a check with JSON message format for IDE integration
check-json: (check '--message-format=json')
# Runs an example of the given {{name}}
example name:
cargo run --release -p {{name}}