chore: rename project to aiken-project

This commit is contained in:
rvcas 2022-10-31 13:25:19 -04:00
parent beb5eff3d8
commit 09462bbb42
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
4 changed files with 20 additions and 20 deletions

32
Cargo.lock generated
View File

@ -51,6 +51,7 @@ name = "aiken"
version = "0.0.21"
dependencies = [
"aiken-lang",
"aiken-project",
"anyhow",
"clap",
"hex",
@ -61,7 +62,6 @@ dependencies = [
"pallas-crypto",
"pallas-primitives",
"pallas-traverse",
"project",
"uplc",
]
@ -80,6 +80,21 @@ dependencies = [
"vec1",
]
[[package]]
name = "aiken-project"
version = "0.0.21"
dependencies = [
"aiken-lang",
"miette",
"petgraph",
"regex",
"serde",
"serde_json",
"thiserror",
"toml",
"walkdir",
]
[[package]]
name = "anyhow"
version = "1.0.65"
@ -802,21 +817,6 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "project"
version = "0.0.21"
dependencies = [
"aiken-lang",
"miette",
"petgraph",
"regex",
"serde",
"serde_json",
"thiserror",
"toml",
"walkdir",
]
[[package]]
name = "proptest"
version = "1.0.0"

View File

@ -21,5 +21,5 @@ pallas-primitives = "0.14.0-alpha.3"
pallas-traverse = "0.14.0-alpha.3"
aiken-lang = { path = "../lang", version = "0.0.20" }
project = { path = '../project', version = "0.0.21" }
aiken-project = { path = '../project', version = "0.0.21" }
uplc = { path = '../uplc', version = "0.0.21" }

View File

@ -1,13 +1,13 @@
pub mod cmd;
use aiken_project::{config::Config, Project};
use miette::IntoDiagnostic;
use project::{config::Config, Project};
use std::env;
use std::path::PathBuf;
pub fn with_project<A>(directory: Option<PathBuf>, mut action: A) -> miette::Result<()>
where
A: FnMut(&mut Project) -> Result<(), project::error::Error>,
A: FnMut(&mut Project) -> Result<(), aiken_project::error::Error>,
{
let project_path = if let Some(d) = directory {
d

View File

@ -1,5 +1,5 @@
[package]
name = "project"
name = "aiken-project"
description = "Aiken project utilities"
version = "0.0.21"
edition = "2021"