Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Clapv3 #6

Merged
merged 9 commits into from
Jul 19, 2022
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/target
.idea
Cargo.lock
/pkg
*tar*
292 changes: 292 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "Malachite"
version = "1.2.0"
version = "1.3.0"
authors = [ "michal <michal@tar.black>" ]
edition = "2021"
description = "Packaging tool for pacman repositories"
Expand All @@ -17,8 +17,8 @@ lto = "fat"
codegen-units = 1

[dependencies]
mimalloc = { version = "0.1.27", default-features = false }
clap = { version = "2.34.0", default-features = false }
toml = { version = "0.5.8", default-features = false }
serde = { version = "1.0.134", default-features = false }
serde_derive = { version = "1.0.134", default-features = false }
mimalloc = { version = "0.1.29" }
clap = { version = "3.2.1", features = ["derive", "suggestions"] }
toml = { version = "0.5.9", default-features = false }
serde = { version = "1.0.137", default-features = false }
serde_derive = { version = "1.0.137", default-features = false }
5 changes: 2 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>

pkgname=malachite
pkgver=1.2.0
pkgver=1.3.0
pkgrel=1
pkgdesc="Tool for packaging and maintaining pacman repositories"
license=('GPL3')
arch=('any')
url="https://git.tar.black/crystal/programs/malachite"
license=('Nolicense')
source=("git+https://git.tar.black/crystal/programs/malachite")
sha256sums=('SKIP')
depends=('git')
Expand All @@ -21,5 +20,5 @@ build() {
package() {
mkdir -p $pkgdir/usr/bin
chmod +x ${srcdir}/malachite/target/release/mlc
cp ${srcdir}/malachite/target/release/mlc $pkgdir/usr/bin/.
cp ${srcdir}/malachite/target/release/mlc $pkgdir/usr/bin/.
}
22 changes: 13 additions & 9 deletions example-mlc.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
mode = "repository"
name = "test"

repo = ["1::ame",
"1::jade",
"2::notop-git",
"3::slippy-rb"]
repo = [
"1::amethyst",
"1::jade",
"2::notop-git",
"3::slippy-rb"
]

urls = ["https://git.tar.black/crystal/%repo%",
"https://aur.archlinux.org/%repo%",
"https://github.com/jnats/%repo%"]
urls = [
"https://github.com/crystal-linux/%repo%",
"https://aur.archlinux.org/%repo%",
"https://github.com/jnats/%repo%"
]

# in this example, mlc will create a repository called "test", with 4 packages
# these packages will be expanded based on the index number they have (index_number::package)
# to demonstrate, the ones in this config will expand to the following:
#
# https://git.tar.black/crystal/ame
# https://git.tar.black/crystal/jade
# https://github.com/crystal-linux/ame
# https://github.com/crystal-linux/jade
# https://aur.archlinux.org/notop-git
# https://github.com/jnats/slippy-rb
#
Expand Down
Loading