1.3.3
This commit is contained in:
parent
63df555639
commit
bd8dc2c53f
3 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# 1.3.3
|
||||||
|
* Fix a small typo in the model generator.
|
||||||
|
|
||||||
# 1.3.2
|
# 1.3.2
|
||||||
* Restore `part` directives in generated models.
|
* Restore `part` directives in generated models.
|
||||||
|
|
||||||
|
@ -22,4 +25,4 @@ of the old project names with the new one in `config/`
|
||||||
YAML files, and also operates on the glob `config/**/*.yaml`.
|
YAML files, and also operates on the glob `config/**/*.yaml`.
|
||||||
|
|
||||||
Changed the call to run `angel start` to run `dart bin/server.dart` instead, after an
|
Changed the call to run `angel start` to run `dart bin/server.dart` instead, after an
|
||||||
`init` command.
|
`init` command.
|
||||||
|
|
|
@ -73,8 +73,8 @@ class ModelCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
modelLib.body.addAll([
|
modelLib.body.addAll([
|
||||||
new Code('part ${rc.snakeCase}.g.dart'),
|
new Code('part ${rc.snakeCase}.g.dart;'),
|
||||||
new Code('part ${rc.snakeCase}.serializer.g.dart'),
|
new Code('part ${rc.snakeCase}.serializer.g.dart;'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
modelLib.body.add(new Class((modelClazz) {
|
modelLib.body.add(new Class((modelClazz) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
|
||||||
description: Command-line tools for the Angel framework.
|
description: Command-line tools for the Angel framework.
|
||||||
homepage: https://github.com/angel-dart/angel_cli
|
homepage: https://github.com/angel-dart/angel_cli
|
||||||
name: angel_cli
|
name: angel_cli
|
||||||
version: 1.3.2
|
version: 1.3.3
|
||||||
dependencies:
|
dependencies:
|
||||||
analyzer: ">=0.32.0"
|
analyzer: ">=0.32.0"
|
||||||
args: ^1.0.0
|
args: ^1.0.0
|
||||||
|
|
Loading…
Reference in a new issue