mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Move crates to toplevel directory
This commit is contained in:
parent
d16961efa8
commit
0ffe68e04f
127 changed files with 15 additions and 13 deletions
|
|
@ -1,2 +1,2 @@
|
|||
[workspace]
|
||||
members = ["crates/*"]
|
||||
members = ["backend", "client", "database", "musicus"]
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ gstreamer = "0.16.4"
|
|||
gstreamer-player = "0.16.3"
|
||||
log = "0.4.14"
|
||||
mpris-player = "0.6.0"
|
||||
musicus_client = { version = "0.1.0", path = "../musicus_client" }
|
||||
musicus_database = { version = "0.1.0", path = "../musicus_database" }
|
||||
musicus_client = { version = "0.1.0", path = "../client" }
|
||||
musicus_database = { version = "0.1.0", path = "../database" }
|
||||
secret-service = "2.0.1"
|
||||
thiserror = "1.0.23"
|
||||
|
||||
|
|
@ -5,7 +5,7 @@ edition = "2018"
|
|||
|
||||
[dependencies]
|
||||
isahc = "1.1.0"
|
||||
musicus_database = { version = "0.1.0", path = "../musicus_database" }
|
||||
musicus_database = { version = "0.1.0", path = "../database" }
|
||||
serde = { version = "1.0.117", features = ["derive"] }
|
||||
serde_json = "1.0.59"
|
||||
thiserror = "1.0.23"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
pub static VERSION: &str = "0.1.0";
|
||||
pub static LOCALEDIR: &str = "/app/share/locale";
|
||||
1
database/.gitignore
vendored
Normal file
1
database/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
test.sqlite
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
name = "musicus_database"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
workspace = "../.."
|
||||
|
||||
[dependencies]
|
||||
diesel = { version = "1.4.5", features = ["sqlite"] }
|
||||
|
|
@ -16,9 +16,9 @@ dependency('sqlite3', version: '>= 3.20')
|
|||
|
||||
i18n = import('i18n')
|
||||
|
||||
subdir('crates/musicus/data')
|
||||
subdir('crates/musicus/po')
|
||||
subdir('crates/musicus/res')
|
||||
subdir('crates/musicus/src')
|
||||
subdir('musicus/data')
|
||||
subdir('musicus/po')
|
||||
subdir('musicus/res')
|
||||
subdir('musicus/src')
|
||||
|
||||
meson.add_install_script('build-aux/postinstall.py')
|
||||
|
|
|
|||
2
musicus/.gitignore
vendored
Normal file
2
musicus/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/src/config.rs
|
||||
/src/resources.rs
|
||||
|
|
@ -11,7 +11,7 @@ futures-channel = "0.3.5"
|
|||
gettext-rs = "0.5.0"
|
||||
gstreamer = "0.16.4"
|
||||
gtk-macros = "0.2.0"
|
||||
musicus_backend = { version = "0.1.0", path = "../musicus_backend" }
|
||||
musicus_backend = { version = "0.1.0", path = "../backend" }
|
||||
once_cell = "1.5.2"
|
||||
rand = "0.7.3"
|
||||
|
||||
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
2
musicus/src/config.rs
Normal file
2
musicus/src/config.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
pub static VERSION: &str = "0.1.0";
|
||||
pub static LOCALEDIR: &str = "/usr/local/share/locale";
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
use anyhow::Result;
|
||||
|
||||
pub fn init() -> Result<()> {
|
||||
let bytes = glib::Bytes::from(include_bytes!("/home/johrpan/.var/app/org.gnome.Builder/cache/gnome-builder/projects/musicus/builds/de.johrpan.musicus.json-flatpak-org.gnome.Platform-x86_64-master-master/crates/musicus/res/musicus.gresource").as_ref());
|
||||
let bytes = glib::Bytes::from(include_bytes!("/home/johrpan/Entwicklung/musicus/build/musicus/res/musicus.gresource").as_ref());
|
||||
let resource = gio::Resource::from_data(&bytes)?;
|
||||
gio::resources_register(&resource);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue