diff options
author | Till Höppner | 2016-02-16 19:24:17 +0100 |
---|---|---|
committer | Till Höppner | 2016-02-16 19:24:17 +0100 |
commit | fb3a628cbb2f95fb7e025eb40480488e45ed04cb (patch) | |
tree | ad3d7c5b96d010a987c2a4fe081bb1c9f4ecabb4 | |
parent | 013704950b4dc9e57149dc963d2f68039d83ae7b (diff) | |
download | includedir-fb3a628cbb2f95fb7e025eb40480488e45ed04cb.tar.gz includedir-fb3a628cbb2f95fb7e025eb40480488e45ed04cb.tar.xz includedir-fb3a628cbb2f95fb7e025eb40480488e45ed04cb.zip |
Move data out of src again
-rw-r--r-- | examples/foo/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/foo/build.rs | 2 | ||||
-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 |