Skip to content

Commit

Permalink
rename lapon to tiron
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Apr 6, 2024
1 parent de33b6b commit b136477
Show file tree
Hide file tree
Showing 47 changed files with 257 additions and 257 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
run: cargo fetch --locked

- name: Build
run: cargo build -p lapon --frozen
run: cargo build -p tiron --frozen

- name: Build node
run: cargo build -p lapon-node --frozen
run: cargo build -p tiron-node --frozen

- name: Build lsp
run: cargo build -p lapon-lsp --frozen
run: cargo build -p tiron-lsp --frozen

- name: Run tests
run: cargo test --workspace
Expand Down
164 changes: 82 additions & 82 deletions .github/workflows/release.yml

Large diffs are not rendered by default.

142 changes: 71 additions & 71 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@ version = "0.1.1"
edition = "2021"

[package]
name = "lapon-workspace"
name = "tiron-workspace"
version.workspace = true
edition.workspace = true
default-run = "lapon"
default-run = "tiron"

[[bin]]
name = "lapon"
path = "lapon/src/main.rs"
name = "tiron"
path = "tiron/src/main.rs"

[[bin]]
name = "lapon-node"
path = "lapon-node/src/main.rs"
name = "tiron-node"
path = "tiron-node/src/main.rs"

[[bin]]
name = "lapon-lsp"
path = "lapon-lsp/src/main.rs"
name = "tiron-lsp"
path = "tiron-lsp/src/main.rs"

[dependencies]
clap = { workspace = true }
anyhow = { workspace = true }
lapon = { workspace = true }
lapon-node = { workspace = true }
tiron = { workspace = true }
tiron-node = { workspace = true }

[workspace]
members = [
"lapon",
"lapon-tui",
"lapon-lsp",
"lapon-node",
"lapon-common",
"tiron",
"tiron-tui",
"tiron-lsp",
"tiron-node",
"tiron-common",
]

[workspace.dependencies]
Expand All @@ -47,7 +47,7 @@ strum = { version = "0.26.2" }
strum_macros = { version = "0.26.2" }
serde = { version = "1.0.197", features = ["derive"] }
rcl = { git = "https://github.com/ruuda/rcl", rev = "6bb68da8ef1ef36f8a38453e7832efb498dc082e" }
lapon = { path = "./lapon" }
lapon-tui = { path = "./lapon-tui" }
lapon-node = { path = "./lapon-node" }
lapon-common = { path = "./lapon-common" }
tiron = { path = "./tiron" }
tiron-tui = { path = "./tiron-tui" }
tiron-node = { path = "./tiron-node" }
tiron-common = { path = "./tiron-common" }
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions lapon/src/main.rs

This file was deleted.

2 changes: 1 addition & 1 deletion lapon-common/Cargo.toml → tiron-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lapon-common"
name = "tiron-common"
version.workspace = true
edition.workspace = true

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lapon-lsp/Cargo.toml → tiron-lsp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lapon-lsp"
name = "tiron-lsp"
version.workspace = true
edition.workspace = true

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lapon-lsp"
name = "tiron-lsp"
version.workspace = true
edition.workspace = true

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lapon-node/Cargo.toml → tiron-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lapon-node"
name = "tiron-node"
version.workspace = true
edition.workspace = true

Expand All @@ -11,4 +11,4 @@ serde = { workspace = true }
anyhow = { workspace = true }
bincode = { workspace = true }
crossbeam-channel = { workspace = true }
lapon-common = { workspace = true }
tiron-common = { workspace = true }
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::{

use anyhow::Result;
use crossbeam_channel::Sender;
use lapon_common::action::{ActionId, ActionMessage};
use tiron_common::action::{ActionId, ActionMessage};

pub fn run_command(
id: ActionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ use std::path::{Path, PathBuf};

use anyhow::{anyhow, Context, Result};
use crossbeam_channel::Sender;
use lapon_common::action::{ActionId, ActionMessage};
use rcl::runtime::Value;
use serde::{Deserialize, Serialize};
use tiron_common::action::{ActionId, ActionMessage};

use super::Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::{collections::HashMap, path::Path};

use anyhow::{anyhow, Result};
use lapon_common::action::{ActionData, ActionId};
use rcl::runtime::Value;
use tiron_common::action::{ActionData, ActionId};

use crate::job::Job;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crossbeam_channel::Sender;
use lapon_common::action::{ActionId, ActionMessage};
use tiron_common::action::{ActionId, ActionMessage};

mod command;
mod copy;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use anyhow::anyhow;
use crossbeam_channel::Sender;
use lapon_common::action::{ActionId, ActionMessage};
use rcl::runtime::Value;
use serde::{Deserialize, Serialize};
use tiron_common::action::{ActionId, ActionMessage};

use super::{command::run_command, Action};

Expand Down
2 changes: 1 addition & 1 deletion lapon-node/src/job.rs → tiron-node/src/job.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::path::{Path, PathBuf};

use anyhow::{anyhow, Result};
use lapon_common::action::ActionData;
use rcl::markup::MarkupMode;
use tiron_common::action::ActionData;

use crate::action::data;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lapon-node/src/main.rs → tiron-node/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fn main() -> anyhow::Result<()> {
lapon_node::node::start()?;
tiron_node::node::start()?;
Ok(())
}
4 changes: 2 additions & 2 deletions lapon-node/src/node.rs → tiron-node/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{
use anyhow::{anyhow, Result};
use clap::Parser;
use crossbeam_channel::{Receiver, Sender};
use lapon_common::{
use tiron_common::{
action::{ActionData, ActionMessage},
node::NodeMessage,
};
Expand All @@ -17,7 +17,7 @@ use crate::{
};

#[derive(Parser)]
#[clap(name = "lapon-node")]
#[clap(name = "tiron-node")]
#[clap(version = env!("CARGO_PKG_VERSION"))]
pub struct Cli {}

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions lapon-tui/Cargo.toml → tiron-tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lapon-tui"
name = "tiron-tui"
version.workspace = true
edition.workspace = true

Expand All @@ -11,5 +11,5 @@ ratatui = { workspace = true }
crossterm = { workspace = true }
anyhow = { workspace = true }
crossbeam-channel = { workspace = true }
lapon-node = { workspace = true }
lapon-common = { workspace = true }
tiron-node = { workspace = true }
tiron-common = { workspace = true }
2 changes: 1 addition & 1 deletion lapon-tui/src/app.rs → tiron-tui/src/app.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use anyhow::{anyhow, Result};
use crossbeam_channel::{Receiver, Sender};
use lapon_common::action::ActionMessage;
use ratatui::{
buffer::Buffer,
layout::{Constraint, Direction, Layout, Rect},
style::{Color, Stylize},
widgets::{Block, Borders, List, Widget},
Frame,
};
use tiron_common::action::ActionMessage;
use uuid::Uuid;

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion lapon-tui/src/event.rs → tiron-tui/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use lapon_common::action::ActionMessage;
use tiron_common::action::ActionMessage;
use uuid::Uuid;

pub enum AppEvent {
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b136477

Please sign in to comment.