Skip to content

Commit

Permalink
Update meson build files
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Dec 13, 2024
1 parent a0d2694 commit 2f1ca40
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
.flatpak-builder
.flatpak-builder
.vscode
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[workspace]

members = [
"aardvark-app", "aardvark-node",
]
members = ["aardvark-app", "aardvark-node"]
3 changes: 2 additions & 1 deletion aardvark-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ version = "0.1.0"
edition = "2021"

[dependencies]
aardvark-node = { path = "../aardvark-node" }
anyhow = "1.0.94"
automerge = "0.5.12"
gettext-rs = { version = "0.7", features = ["gettext-system"] }
gtk = { version = "0.9", package = "gtk4", features = ["gnome_47"] }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.128"
aardvark-node = { path = "../aardvark-node" }
tokio = { version = "1.42.0", features = ["full"] }

[dependencies.adw]
package = "libadwaita"
Expand Down
4 changes: 2 additions & 2 deletions aardvark-app/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ configure_file(
# Copy the config.rs output to the source directory.
run_command(
'cp',
meson.project_build_root() / 'src' / 'config.rs',
meson.project_source_root() / 'src' / 'config.rs',
meson.project_build_root() / 'aardvark-app/src' / 'config.rs',
meson.project_source_root() / 'aardvark-app/src' / 'config.rs',
check: true
)

Expand Down
9 changes: 3 additions & 6 deletions aardvark-app/meson.build → meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ project('aardvark', 'rust',
i18n = import('i18n')
gnome = import('gnome')




subdir('data')
subdir('src')
subdir('po')
subdir('aardvark-app/data')
subdir('aardvark-app/src')
subdir('aardvark-app/po')

gnome.post_install(
glib_compile_schemas: true,
Expand Down
File renamed without changes.

0 comments on commit 2f1ca40

Please sign in to comment.