diff options
| author | Austin Hellyer <[email protected]> | 2016-12-16 14:54:52 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-16 14:54:52 -0800 |
| commit | 8e4b57c1b5ebf085bc55d4f42bf4df722b768a8a (patch) | |
| tree | f435fc913042c29b0da7d037970e7b35383a7e8c /examples | |
| parent | Framework: format argument number on parse error (diff) | |
| download | serenity-8e4b57c1b5ebf085bc55d4f42bf4df722b768a8a.tar.xz serenity-8e4b57c1b5ebf085bc55d4f42bf4df722b768a8a.zip | |
Modify examples to point to current repo
Instead of pointing to the current minor version, the examples'
`Cargo.toml`s should be a relative path to the current cloned repo. This
improves the examples by:
1. always being up-to-date if major or minor version updates occur;
2. being more up-to-standard with the examples' readme;
3. making debugging the library locally easier (not having to constantly
modify the version to a path).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/01_basic_ping_bot/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/02_transparent_guild_sharding/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/03_struct_utilities/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/04_message_builder/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/05_user_login/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/06_command_framework/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/07_voice/Cargo.toml | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/01_basic_ping_bot/Cargo.toml b/examples/01_basic_ping_bot/Cargo.toml index 40e2f84..d4cbb5f 100644 --- a/examples/01_basic_ping_bot/Cargo.toml +++ b/examples/01_basic_ping_bot/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name <[email protected]>"] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/02_transparent_guild_sharding/Cargo.toml b/examples/02_transparent_guild_sharding/Cargo.toml index a9327ae..620c7af 100644 --- a/examples/02_transparent_guild_sharding/Cargo.toml +++ b/examples/02_transparent_guild_sharding/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name <[email protected]>"] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/03_struct_utilities/Cargo.toml b/examples/03_struct_utilities/Cargo.toml index cb29eff..dc89662 100644 --- a/examples/03_struct_utilities/Cargo.toml +++ b/examples/03_struct_utilities/Cargo.toml @@ -5,4 +5,4 @@ authors = ["my name <[email protected]>"] [dependencies.serenity] features = ["methods"] -version = "0.1" +path = "../../" diff --git a/examples/04_message_builder/Cargo.toml b/examples/04_message_builder/Cargo.toml index 103de14..c5bd639 100644 --- a/examples/04_message_builder/Cargo.toml +++ b/examples/04_message_builder/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name <[email protected]>"] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/05_user_login/Cargo.toml b/examples/05_user_login/Cargo.toml index dcc0b5a..4b0fdcc 100644 --- a/examples/05_user_login/Cargo.toml +++ b/examples/05_user_login/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name <[email protected]>"] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/06_command_framework/Cargo.toml b/examples/06_command_framework/Cargo.toml index a73f940..ec4fea7 100644 --- a/examples/06_command_framework/Cargo.toml +++ b/examples/06_command_framework/Cargo.toml @@ -8,4 +8,4 @@ typemap = "0.3" [dependencies.serenity] features = ["framework", "methods"] -version = "0.1" +path = "../../" diff --git a/examples/07_voice/Cargo.toml b/examples/07_voice/Cargo.toml index cb023cc..b09ea79 100644 --- a/examples/07_voice/Cargo.toml +++ b/examples/07_voice/Cargo.toml @@ -5,4 +5,4 @@ authors = ["my name <[email protected]>"] [dependencies.serenity] features = ["cache", "framework", "methods", "voice"] -version = "0.1" +path = "../../" |