Skip to content

Commit

Permalink
Added support for providing a template name when generating (#84)
Browse files Browse the repository at this point in the history
* Added support for providing a template name when generating
a contract.

* Added odra_modules_dependency to template engine.

* Generate command now uses templates.json file.

* Use templates.json for generating a project.

* List templates.

* Added source option to generate command.
  • Loading branch information
kubaplas authored May 16, 2024
1 parent 6b4a67c commit 2453c04
Show file tree
Hide file tree
Showing 18 changed files with 414 additions and 224 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Changelog for `cargo-odra`.

## [0.1.2] - 2024-XX-XX

### Added

- Support for defining template of a contract to grab when using `generate` command.
- Ability to list all available templates using `list-templates` command.

### Fixed

- Fixed error that caused contracts to fail to be built when coming from crates with
hyphens in their name.

## [0.1.1] - 2024-02-28

### Added
Expand Down
Loading

0 comments on commit 2453c04

Please sign in to comment.