Switch to workspace layout

This commit is contained in:
Héctor Ramón Jiménez 2019-09-10 19:41:49 +02:00
parent 2913c64da3
commit 8b8f7563ad
36 changed files with 48 additions and 31 deletions

17
examples/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "iced_examples"
version = "0.0.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
publish = false
edition = "2018"
[[bin]]
name = "tour"
path = "tour/main.rs"
[dependencies]
iced = { version = "0.1.0-alpha", path = "../core" }
# A personal `ggez` fork that introduces a `FontCache` type to measure text
# efficiently and fixes HiDPI issues.
ggez = { version = "0.5", git = "https://github.com/hecrj/ggez.git" }

View file

@ -27,7 +27,7 @@ pub fn main() -> ggez::GameResult {
filesystem::mount(
context,
std::path::Path::new(&format!(
"{}/examples/resources",
"{}/resources",
env!("CARGO_MANIFEST_DIR")
)),
true,