Skip to content

Commit

Permalink
Merge pull request #49 from coco33920/add_package
Browse files Browse the repository at this point in the history
(feat): add packages for major distributions
  • Loading branch information
vanilla-extracts authored May 26, 2024
2 parents 1bd9f9f + b19b7cd commit 437aba2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
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"

0 comments on commit 437aba2

Please sign in to comment.