Skip to content

Commit

Permalink
release dox-cli v2.0.1 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion authored Dec 29, 2023
1 parent 9b93fa3 commit 1020ded
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/dox-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

- bug fix on dox create command

## 2.0.0

- Release stable version v2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/dox-cli/bin/dox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main(List<String> args) async {
];

if (args.length == 1 && versionKeys.contains(args[0])) {
print('Dox version: 2.0.0-alpha.2');
print('Dox version: 2.0.1');
return;
}

Expand Down
8 changes: 5 additions & 3 deletions packages/dox-cli/lib/src/tools/create_project.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ createProject(projectName, [String? versionName]) async {
final files = projectFolder.listSync(recursive: true);
for (final file in files) {
if (file is File) {
final content =
file.readAsStringSync().replaceAll('dox_sample', projectName);
file.writeAsStringSync(content);
if (!file.path.contains('bin/dox')) {
final content =
file.readAsStringSync().replaceAll('dox_sample', projectName);
file.writeAsStringSync(content);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/dox-cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dox
description: This is a cli tool to generate migration, model and to handle database migration with dox framework. It support up and down methods to control migration version.
version: 2.0.0
version: 2.0.1
repository: https://github.com/dartondox/dox
homepage: https://dartondox.dev

Expand Down

0 comments on commit 1020ded

Please sign in to comment.