-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked the fqn and module handling mechanism (#72)
* Reworked the fqn and module handling mechanism Closes: #70 * Unify casing boundaries when converting between snake and camel case * Fix casing when scanning for contract names. Closes: #71 * Removed cargo update command. * Updated README. * Fix for rust complaining about templates being in workspace
- Loading branch information
Showing
14 changed files
with
105 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,6 @@ $ cargo odra test -b casper | |
* `test` - runs tests, | ||
* `generate` - generates sample contract, | ||
* `clean` - removes temporary files (builders and wasm files), | ||
* `update` - runs cargo update on project and backends. | ||
* `completions` - generates autocomplete script for given shell | ||
|
||
To see exact syntax of each command, type `cargo odra command --help`. | ||
|
@@ -63,11 +62,16 @@ To see exact syntax of each command, type `cargo odra command --help`. | |
file into root of your workspace. If you have multiple odra crates in your | ||
workspace, put all contracts in the same Odra.toml folder. | ||
|
||
You can use a template to create a project with workspace: | ||
|
||
```bash | ||
$ cargo odra new --name myproject --template workspace && cd myproject | ||
``` | ||
|
||
## Links | ||
|
||
* [Odra](https://github.com/odradev/odra) | ||
* [Cargo Odra](https://github.com/odradev/cargo-odra) | ||
* [Odra Casper](https://github.com/odradev/odra-casper) | ||
* [Odra framework repository](https://github.com/odradev/odra) | ||
* [Odra docs](https://odra.dev/docs) | ||
|
||
## Contact | ||
Write **[email protected]** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,4 @@ pub mod generate; | |
pub mod init; | ||
pub mod schema; | ||
pub mod test; | ||
pub mod update; | ||
mod utils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.