Big FMT job

main
Michal 2 years ago
parent f0a7012b50
commit 96b9f2f652

@ -5,9 +5,13 @@
naersk.url = "github:nix-community/naersk";
};
outputs = { self, nixpkgs, utils, naersk }:
utils.lib.eachDefaultSystem (system:
let
outputs = {
self,
nixpkgs,
utils,
naersk,
}:
utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages."${system}";
naersk-lib = naersk.lib."${system}";
in rec

@ -17,7 +17,6 @@ pub struct Args {
/// Excludes packages from given operation, if applicable
#[clap(short = 'x', long = "exclude", action = ArgAction::Append, takes_value = true)]
pub exclude: Vec<String>,
}
#[derive(Debug, Clone, Subcommand)]

@ -1,6 +1,7 @@
use crate::{info, workspace};
use std::process::Command;
use crate::{info, workspace};
pub fn clone() {
// Read config struct from mlc.toml
let config = workspace::read_cfg();

@ -1,11 +1,11 @@
pub use build::*;
pub use clean::*;
pub use clone::*;
pub use config::*;
pub use pull::*;
pub use clean::*;
mod build;
mod clean;
mod clone;
mod config;
mod pull;
mod clean;

@ -1,8 +1,8 @@
use crate::{crash, internal::AppExitCode};
use std::env;
use std::process::Command;
use crate::info;
use crate::{crash, internal::AppExitCode};
fn do_the_pulling(repos: Vec<String>) {
for repo in repos {

Loading…
Cancel
Save