-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main feature is introducing a `--convert` flag to `init` command. (#111 ) Also handled are #113 and #83 . Some changes to how `init` works are introduced: - all "tasks" now get pushed into the task queue and only executed after all the options are confirmed - config is also gathered in the global configBuilder, and written as the last step To test: - have an existing project cloned to your filesystem (for example dex, or nft from https://github.com/swanky-dapps) - run `swanky init proj_name --convert path_to_existing_project` - it will check for Cargo.toml with `workspace` `members` and `exclude` fields - it assumes `members` are contracts, and `exclude` are extra crates - you can also specify manually - when done, you still need to manually adjust import paths in the contracts' Cargo.toml Note: the converted project is not expected to work out-of-the-box when converted, but should require minimum adjustments.
- Loading branch information
Showing
26 changed files
with
1,416 additions
and
727 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"useWorkspaces": true, | ||
"version": "2.1.2", | ||
"version": "2.2.2-alpha.0", | ||
"npmClient": "yarn" | ||
} |
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.