https://github.com/d-brox/cosmic-generate-template
A cargo-generate template for apps and applets for the COSMIC™ DE.
https://github.com/d-brox/cosmic-generate-template
applet-template application-template cargo-generate cosmic-desktop libcosmic
Last synced: 8 months ago
JSON representation
A cargo-generate template for apps and applets for the COSMIC™ DE.
- Host: GitHub
- URL: https://github.com/d-brox/cosmic-generate-template
- Owner: D-Brox
- License: apache-2.0
- Created: 2024-09-17T21:07:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-03T22:38:47.000Z (about 1 year ago)
- Last Synced: 2025-04-03T23:27:40.754Z (about 1 year ago)
- Topics: applet-template, application-template, cargo-generate, cosmic-desktop, libcosmic
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-template.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# {{project-name}}
{{description}}
## Installation
Clone the repository:
```bash
git clone {{repository}} {{project-name}}
cd {{project-name}}
```
Build and install the project:
```bash
just build-release
sudo just install
```
For alternative packaging methods, use the one of the following recipes:
- `deb`: run `just build-deb` and `sudo just install-deb`
- `rpm`: run `just build-rpm` and `sudo just install-rpm`
For vendoring, use `just vendor` and `just vendor-build`
## Contributing
A [justfile](./justfile) is included with common recipes used by other COSMIC projects:
- `just build-debug` compiles with debug profile
- `just run` builds and runs the application
- `just check` runs clippy on the project to check for linter warnings
- `just check-json` can be used by IDEs that support LSP
{% if license != "None" -%}
## License
{% if license != "MIT or Apache-2.0" -%}
Code is distributed with the [{{license}} license][./LICENSE]
{% else -%}
Code is distributed with the [MIT][./LICENSE-MIT] and [Apache-2.0][./LICENSE-APACHE] licenses
{% endif %}{% endif %}