mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-04 15:09:08 +00:00
commit
2d0a72439c
|
@ -211,7 +211,6 @@ mod linter;
|
|||
use duckscript::runner;
|
||||
use duckscript::types::error::ScriptError;
|
||||
use duckscript::types::runtime::Context;
|
||||
use duckscriptsdk;
|
||||
use std::env;
|
||||
use std::process::exit;
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use num_cpus;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use fsio::path::from_path::FromPath;
|
||||
use home;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use whoami;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use home;
|
||||
use std::env;
|
||||
use std::path::Path;
|
||||
|
||||
|
|
1
duckscript_sdk/src/sdk/std/env/which/mod.rs
vendored
1
duckscript_sdk/src/sdk/std/env/which/mod.rs
vendored
|
@ -1,7 +1,6 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use fsio::path::from_path::FromPath;
|
||||
use which;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use fsio;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -2,7 +2,6 @@ use crate::utils::io::ends_with_separator;
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use fs_extra::{dir, move_items};
|
||||
use fsio;
|
||||
use fsio::directory::create_parent;
|
||||
use std::fs::rename;
|
||||
use std::path::Path;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use super::*;
|
||||
use crate::test;
|
||||
use crate::test::CommandValidation;
|
||||
use fsio;
|
||||
use fsio::file::ensure_exists;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use super::*;
|
||||
use crate::test;
|
||||
use crate::test::CommandValidation;
|
||||
use fsio;
|
||||
use fsio::file::ensure_exists;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use super::*;
|
||||
use crate::test;
|
||||
use crate::test::CommandValidation;
|
||||
use fsio;
|
||||
|
||||
#[test]
|
||||
fn common_functions() {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use whoami;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::utils::pckg;
|
||||
use attohttpc;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use fsio::directory::create_parent;
|
||||
use fsio::file::delete;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use crate::utils::state::put_handle;
|
||||
use base64;
|
||||
use base64::Engine;
|
||||
use duckscript::types::command::{Command, CommandResult, Commands};
|
||||
use duckscript::types::instruction::Instruction;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use crate::utils::state::get_handles_sub_state;
|
||||
use base64;
|
||||
use base64::Engine;
|
||||
use duckscript::types::command::{Command, CommandResult, Commands};
|
||||
use duckscript::types::instruction::Instruction;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::utils::pckg;
|
||||
use duckscript::types::command::{Command, CommandResult};
|
||||
use std::convert::TryInto;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./mod_test.rs"]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use duckscript::types::error::ScriptError;
|
||||
use fsio;
|
||||
use fsio::file::{append_file, ensure_exists, read_file, write_file};
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Reference in a new issue