michal 3 years ago
parent a9175a392f
commit 96c8a69681

@ -48,8 +48,7 @@ fn main() {
),
)
.subcommand(
SubCommand::with_name("repo-gen")
.about("Generates repository from build packages")
SubCommand::with_name("repo-gen").about("Generates repository from build packages"),
)
.subcommand(
SubCommand::with_name("prune")

@ -5,4 +5,6 @@ pub fn build(pkg: String) {
package::build(pkg);
}
pub fn generate() { repo::generate(); }
pub fn generate() {
repo::generate();
}

@ -1,6 +1,6 @@
use std::{env, fs};
use std::path::Path;
use std::process::Command;
use std::{env, fs};
pub fn build(pkg: String) {
let dir = env::current_dir().unwrap();

@ -1,6 +1,6 @@
use std::{env, fs};
use std::path::Path;
use std::process::Command;
use std::{env, fs};
use crate::workspace::read_cfg;

Loading…
Cancel
Save