diff --git a/Cargo.toml b/Cargo.toml index c665c2b..2511c42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,6 @@ members = [ "gmod-macros" ] exclude = [ - "example/my-first-binary-module" + "examples/my-first-binary-module", + "examples/printing-to-console" ] \ No newline at end of file diff --git a/README.md b/README.md index 715f986..99c4b63 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ A swiss army knife for creating binary modules for Garry's Mod in Rust. -# Example +# Examples -[Click here](https://github.com/WilliamVenner/gmod-rs/tree/master/example/my-first-binary-module) to see an example. \ No newline at end of file +[Click here](https://github.com/WilliamVenner/gmod-rs/tree/master/examples/) to see examples. \ No newline at end of file diff --git a/example/my-first-binary-module/Cargo.toml b/examples/my-first-binary-module/Cargo.toml similarity index 100% rename from example/my-first-binary-module/Cargo.toml rename to examples/my-first-binary-module/Cargo.toml diff --git a/example/my-first-binary-module/README.md b/examples/my-first-binary-module/README.md similarity index 100% rename from example/my-first-binary-module/README.md rename to examples/my-first-binary-module/README.md diff --git a/example/my-first-binary-module/rust-toolchain.toml b/examples/my-first-binary-module/rust-toolchain.toml similarity index 100% rename from example/my-first-binary-module/rust-toolchain.toml rename to examples/my-first-binary-module/rust-toolchain.toml diff --git a/example/my-first-binary-module/src/lib.rs b/examples/my-first-binary-module/src/lib.rs similarity index 100% rename from example/my-first-binary-module/src/lib.rs rename to examples/my-first-binary-module/src/lib.rs diff --git a/example/printing-to-console/Cargo.toml b/examples/printing-to-console/Cargo.toml similarity index 100% rename from example/printing-to-console/Cargo.toml rename to examples/printing-to-console/Cargo.toml diff --git a/example/printing-to-console/README.md b/examples/printing-to-console/README.md similarity index 100% rename from example/printing-to-console/README.md rename to examples/printing-to-console/README.md diff --git a/example/printing-to-console/rust-toolchain.toml b/examples/printing-to-console/rust-toolchain.toml similarity index 100% rename from example/printing-to-console/rust-toolchain.toml rename to examples/printing-to-console/rust-toolchain.toml diff --git a/example/printing-to-console/src/lib.rs b/examples/printing-to-console/src/lib.rs similarity index 100% rename from example/printing-to-console/src/lib.rs rename to examples/printing-to-console/src/lib.rs