Merge pull request #2051 from gitbutlerapp/workspace-layout

move to canonical rust workspace codebase layout
This commit is contained in:
Qix 2023-12-22 14:28:05 +01:00 committed by GitHub
commit f7a7a61d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
460 changed files with 12 additions and 13 deletions

View File

@ -38,4 +38,4 @@ runs:
- name: placeholder for ui assets
shell: bash
run: mkdir packages/ui/build
run: mkdir gitbutler-ui/build

View File

@ -14,13 +14,12 @@ jobs:
with:
filters: |
rust:
- 'packages/tauri/**'
- 'packages/butler/**'
- 'gitbutler-app/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
node:
- 'packages/ui/**'
- 'gitbutler-ui/**'
- 'package.json'
- 'pnpm-lock.yaml'

2
Cargo.lock generated
View File

@ -1775,7 +1775,7 @@ dependencies = [
]
[[package]]
name = "gitbutler"
name = "gitbutler-app"
version = "0.0.0"
dependencies = [
"anyhow",

View File

@ -1,6 +1,6 @@
[workspace]
members = [
"packages/tauri",
"gitbutler-app",
]
resolver = "2"

View File

@ -74,7 +74,7 @@ We are also collecting tokio's runtime tracing information that could be viewed
To build the app in production mode, run:
```bash
$ pnpm tauri build --features devtools --config packages/tauri/tauri.conf.nightly.json
$ pnpm tauri build --features devtools --config gitbutler-app/tauri.conf.nightly.json
```
This will make an asset similar to our nightly build.

View File

@ -1,5 +1,5 @@
[package]
name = "gitbutler"
name = "gitbutler-app"
version = "0.0.0"
edition = "2021"
rust-version = "1.57"
@ -9,7 +9,7 @@ name = "gblib"
path = "src/lib.rs"
[[bin]]
name = "gitbutler"
name = "gitbutler-app"
path = "src/bin.rs"
[build-dependencies]

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Some files were not shown because too many files have changed in this diff Show More