chore(app): move it to crates/
to establish the new structure.
It is similar to `nu-shell`, which has a lot of crates by now, which is something we probably see here as well.
@ -69,7 +69,7 @@ correctness = "deny"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
"gitbutler-app",
|
||||
"crates/gitbutler-app",
|
||||
"gitbutler-changeset",
|
||||
"gitbutler-git",
|
||||
]
|
||||
|
@ -56,7 +56,7 @@ tokio-util = "0.7.10"
|
||||
tracing = "0.1.40"
|
||||
tracing-appender = "0.2.3"
|
||||
tracing-subscriber = "0.3.17"
|
||||
gitbutler = { path = "../" }
|
||||
gitbutler = { path = "../.." }
|
||||
|
||||
[lints.clippy]
|
||||
all = "deny"
|
@ -5,7 +5,12 @@ fn main() {
|
||||
// it before building.
|
||||
let manifest_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
assert_eq!(manifest_dir.file_name().unwrap(), "gitbutler-app");
|
||||
let build_dir = manifest_dir.parent().unwrap().join("gitbutler-ui/build");
|
||||
let build_dir = manifest_dir
|
||||
.parent()
|
||||
.unwrap()
|
||||
.parent()
|
||||
.unwrap()
|
||||
.join("gitbutler-ui/build");
|
||||
if !build_dir.exists() {
|
||||
// NOTE(qix-): Do not use `create_dir_all` here - the parent directory
|
||||
// NOTE(qix-): already exists, and we want to fail if not (for some reason).
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@ -3,7 +3,7 @@
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build:development",
|
||||
"devPath": "http://localhost:1420",
|
||||
"distDir": "../gitbutler-ui/build",
|
||||
"distDir": "../../gitbutler-ui/build",
|
||||
"withGlobalTauri": false
|
||||
},
|
||||
"package": {
|
@ -1,4 +1,4 @@
|
||||
// TODO(ST): move test code into crate and use that, but wait for `crates/`
|
||||
#[path = "../../tests/shared/mod.rs"]
|
||||
#[path = "../../../tests/shared/mod.rs"]
|
||||
pub mod shared;
|
||||
mod watcher;
|