Skip to content

Commit

Permalink
Don't generate migrations dir
Browse files Browse the repository at this point in the history
  • Loading branch information
blckngm committed Dec 22, 2023
1 parent 7e8f907 commit cac0486
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ capsule test
* `contracts` - Contracts directory.
* `tests` - Contracts tests.
* `build` - Contracts binaries.
* `migrations` - Deployment histories.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion src/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn gen_project_layout<P: AsRef<Path>>(name: String, project_path: P) -> Result<(
};
fs::create_dir(&project_path)
.with_context(|| format!("directory exists {:?}", &project_path))?;
for f in &["contracts", "build", "migrations"] {
for f in &["contracts", "build"] {
let mut dir_path = PathBuf::new();
dir_path.push(&project_path);
dir_path.push(f);
Expand Down

0 comments on commit cac0486

Please sign in to comment.