aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/foo/Cargo.toml2
-rw-r--r--examples/foo/build.rs2
-rw-r--r--examples/foo/data/empty (renamed from examples/foo/src/data/empty)0
-rw-r--r--examples/foo/data/foo (renamed from examples/foo/src/data/foo)0
-rw-r--r--examples/foo/data/inner/boom (renamed from examples/foo/src/data/inner/boom)0
5 files changed, 3 insertions, 1 deletions
diff --git a/examples/foo/Cargo.toml b/examples/foo/Cargo.toml
index aa927c4..93c06c8 100644
--- a/examples/foo/Cargo.toml
+++ b/examples/foo/Cargo.toml
@@ -3,6 +3,8 @@ name = "foo"
version = "0.1.0"
authors = ["Till Höppner <till@hoeppner.ws>"]
build = "build.rs"
+include = ["data"]
+publish = false
[dependencies]
phf = "0.7.12"
diff --git a/examples/foo/build.rs b/examples/foo/build.rs
index 1196b6a..08c0a34 100644
--- a/examples/foo/build.rs
+++ b/examples/foo/build.rs
@@ -1,5 +1,5 @@
extern crate includedir;
fn main() {
- includedir::build("src/data").unwrap();
+ includedir::build("data").unwrap();
}
diff --git a/examples/foo/src/data/empty b/examples/foo/data/empty
index e69de29..e69de29 100644
--- a/examples/foo/src/data/empty
+++ b/examples/foo/data/empty
diff --git a/examples/foo/src/data/foo b/examples/foo/data/foo
index 257cc56..257cc56 100644
--- a/examples/foo/src/data/foo
+++ b/examples/foo/data/foo
diff --git a/examples/foo/src/data/inner/boom b/examples/foo/data/inner/boom
index 9e2ba7e..9e2ba7e 100644
--- a/examples/foo/src/data/inner/boom
+++ b/examples/foo/data/inner/boom