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]
|
||||
name = "blackarch-devtools"
|
||||
version = "0.3.0"
|
||||
version = "0.4.0"
|
||||
authors = ["Eduard Toloza <tolosaeduard@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
|||
12
src/cli.yml
12
src/cli.yml
|
|
@ -1,5 +1,5 @@
|
|||
name: blackarch-devtools
|
||||
version: "0.3.0"
|
||||
version: "0.4.0"
|
||||
author: Eduard Tolosa <tolosaeduard@gmail.com>
|
||||
about: Development tools for BlackArch Linux
|
||||
settings:
|
||||
|
|
@ -18,21 +18,12 @@ args:
|
|||
takes_value: false
|
||||
conflicts_with:
|
||||
- install-missing
|
||||
- test:
|
||||
short: t
|
||||
long: test
|
||||
help: Install and test package in clean chroot environment.
|
||||
takes_value: false
|
||||
requires:
|
||||
- package
|
||||
- executable
|
||||
- package:
|
||||
short: p
|
||||
long: package
|
||||
help: Build package to install in the clean chroot environment.
|
||||
takes_value: true
|
||||
requires:
|
||||
- test
|
||||
- executable
|
||||
- executable:
|
||||
short: e
|
||||
|
|
@ -41,7 +32,6 @@ args:
|
|||
takes_value: true
|
||||
multiple: true
|
||||
requires:
|
||||
- test
|
||||
- package
|
||||
- install-missing:
|
||||
short: I
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ fn main() {
|
|||
functions::build_package();
|
||||
} else if matches.is_present("update") {
|
||||
functions::update_chroot_packages();
|
||||
} else if matches.is_present("test") {
|
||||
} else if matches.is_present("package") {
|
||||
let package = matches
|
||||
.value_of("package")
|
||||
.expect("Failed to convert in a valid String")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue