-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project separated into individual crates
- Loading branch information
1 parent
fc5789a
commit 395dde7
Showing
34 changed files
with
198 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,3 @@ | ||
[package] | ||
name = "devmode" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "GPL-2.0" | ||
description = "Devmode is a project management utility for developers." | ||
homepage = "https://devmode.edfloreshz.dev/" | ||
documentation = "https://docs.rs/devmode" | ||
repository = "https://github.com/edfloreshz/devmode/" | ||
readme = "README.md" | ||
exclude = [ | ||
".idea", | ||
".github", | ||
".vscode", | ||
"assets/img", | ||
"assets/scripts", | ||
] | ||
|
||
[[bin]] | ||
name = "dm" | ||
path = "src/main.rs" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libset = "0.1.2" | ||
clap = { version = "3.2.14", features = ["derive"] } | ||
anyhow = "1.0.44" | ||
requestty = "0.4.1" | ||
colored = "2.0.0" | ||
regex = "1.5.4" | ||
git2 = "0.14.4" | ||
git2_credentials = "0.8.0" | ||
cmd_lib = "1.1.0" | ||
walkdir = "2.3.2" | ||
serde = { version = "1.0.126", features = ["derive"] } | ||
fs_extra = "1.2.0" | ||
[workspace] | ||
resolver = "2" | ||
members = ["gui", "cli"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
|
||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
*/target | ||
Cargo.lock | ||
*.out | ||
/.out/ | ||
/.idea | ||
*.DS_Store | ||
.vscode | ||
.tasks | ||
.vimspector.json |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = "devmode" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "GPL-2.0" | ||
description = "Devmode is a project management utility for developers." | ||
homepage = "https://devmode.edfloreshz.dev/" | ||
documentation = "https://docs.rs/devmode" | ||
repository = "https://github.com/edfloreshz/devmode/" | ||
readme = "README.md" | ||
exclude = [".idea", ".github", ".vscode", "assets/img", "assets/scripts"] | ||
|
||
[[bin]] | ||
name = "dm" | ||
path = "src/main.rs" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
devmode-shared = { path = "../shared" } | ||
libset = "0.1.2" | ||
clap = { version = "3.2.14", features = ["derive"] } | ||
anyhow = "1.0.44" | ||
requestty = "0.4.1" | ||
colored = "2.0.0" | ||
regex = "1.5.4" | ||
git2 = "0.14.4" | ||
git2_credentials = "0.8.0" | ||
cmd_lib = "1.1.0" | ||
walkdir = "2.3.2" | ||
serde = { version = "1.0.126", features = ["derive"] } | ||
fs_extra = "1.2.0" |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use devmode_shared::clone::CloneAction; | ||
|
||
slint::include_modules!(); | ||
|
||
fn main() -> Result<(), slint::PlatformError> { | ||
let ui = AppWindow::new()?; | ||
|
||
ui.global::<CloneLogic>().on_clone(move |url| { | ||
match CloneAction::new().set_url(Some(url.to_string())).run() { | ||
Ok(_) => {} | ||
Err(err) => eprintln!("{err}"), | ||
}; | ||
}); | ||
|
||
ui.run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/ui/slint/ui/pages/configuration.slint → gui/ui/pages/configuration.slint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/ui/slint/ui/pages/workspaces.slint → gui/ui/pages/workspaces.slint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
|
||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
*/target | ||
Cargo.lock | ||
*.out | ||
/.out/ | ||
/.idea | ||
*.DS_Store | ||
.vscode | ||
.tasks | ||
.vimspector.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "devmode-shared" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
libset = "0.1.2" | ||
clap = { version = "3.2.14", features = ["derive"] } | ||
anyhow = "1.0.44" | ||
requestty = "0.4.1" | ||
colored = "2.0.0" | ||
regex = "1.5.4" | ||
git2 = "0.14.4" | ||
git2_credentials = "0.8.0" | ||
cmd_lib = "1.1.0" | ||
walkdir = "2.3.2" | ||
serde = { version = "1.0.126", features = ["derive"] } | ||
fs_extra = "1.2.0" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.