Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): add packages for major distributions #49

Merged
merged 8 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sprm:
cargo generate-rpm
cp target/release/*.rpm .
16 changes: 16 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ confy = "0.5.1"
gnuplot = "0.0.39"
serde = { version = "1.0.192", features = ["derive"] }
atty = "0.2"



[package.metadata.deb]
name = "mini-calc"
maintainer = "Charlotte Thomas"
copyright = "GPLv3"
license-file = "LICENSE"

[package.metadata.generate-rpm]
name = "mini-calc"
version = "3.1.0"
license = "GPLv3"
assets = [{source="target/release/mini-calc", dest="/usr/bin/mini-calc", mode = "755"}]

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
Expand All @@ -40,3 +55,4 @@ pr-run-mode = "plan"
[profile.dist]
inherits = "release"
lto = "thin"

Loading