mirror of
https://github.com/edu4rdshl/blackarch-devtools.git
synced 2026-07-17 23:24:47 +00:00
Remove unneeded condition + bump version.
This commit is contained in:
parent
13de274d2e
commit
9a1ffa7fb5
3 changed files with 3 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "blackarch-devtools"
|
name = "blackarch-devtools"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
authors = ["Eduard Toloza <tolosaeduard@gmail.com>"]
|
authors = ["Eduard Toloza <tolosaeduard@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
||||||
12
src/cli.yml
12
src/cli.yml
|
|
@ -1,5 +1,5 @@
|
||||||
name: blackarch-devtools
|
name: blackarch-devtools
|
||||||
version: "0.3.0"
|
version: "0.4.0"
|
||||||
author: Eduard Tolosa <tolosaeduard@gmail.com>
|
author: Eduard Tolosa <tolosaeduard@gmail.com>
|
||||||
about: Development tools for BlackArch Linux
|
about: Development tools for BlackArch Linux
|
||||||
settings:
|
settings:
|
||||||
|
|
@ -18,21 +18,12 @@ args:
|
||||||
takes_value: false
|
takes_value: false
|
||||||
conflicts_with:
|
conflicts_with:
|
||||||
- install-missing
|
- install-missing
|
||||||
- test:
|
|
||||||
short: t
|
|
||||||
long: test
|
|
||||||
help: Install and test package in clean chroot environment.
|
|
||||||
takes_value: false
|
|
||||||
requires:
|
|
||||||
- package
|
|
||||||
- executable
|
|
||||||
- package:
|
- package:
|
||||||
short: p
|
short: p
|
||||||
long: package
|
long: package
|
||||||
help: Build package to install in the clean chroot environment.
|
help: Build package to install in the clean chroot environment.
|
||||||
takes_value: true
|
takes_value: true
|
||||||
requires:
|
requires:
|
||||||
- test
|
|
||||||
- executable
|
- executable
|
||||||
- executable:
|
- executable:
|
||||||
short: e
|
short: e
|
||||||
|
|
@ -41,7 +32,6 @@ args:
|
||||||
takes_value: true
|
takes_value: true
|
||||||
multiple: true
|
multiple: true
|
||||||
requires:
|
requires:
|
||||||
- test
|
|
||||||
- package
|
- package
|
||||||
- install-missing:
|
- install-missing:
|
||||||
short: I
|
short: I
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ fn main() {
|
||||||
functions::build_package();
|
functions::build_package();
|
||||||
} else if matches.is_present("update") {
|
} else if matches.is_present("update") {
|
||||||
functions::update_chroot_packages();
|
functions::update_chroot_packages();
|
||||||
} else if matches.is_present("test") {
|
} else if matches.is_present("package") {
|
||||||
let package = matches
|
let package = matches
|
||||||
.value_of("package")
|
.value_of("package")
|
||||||
.expect("Failed to convert in a valid String")
|
.expect("Failed to convert in a valid String")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue