This commit is contained in:
Tobe O 2018-07-15 00:49:18 -04:00
parent 63df555639
commit bd8dc2c53f
3 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,6 @@
# 1.3.3
* Fix a small typo in the model generator.
# 1.3.2
* 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`.
Changed the call to run `angel start` to run `dart bin/server.dart` instead, after an
`init` command.
`init` command.

View file

@ -73,8 +73,8 @@ class ModelCommand extends Command {
}
modelLib.body.addAll([
new Code('part ${rc.snakeCase}.g.dart'),
new Code('part ${rc.snakeCase}.serializer.g.dart'),
new Code('part ${rc.snakeCase}.g.dart;'),
new Code('part ${rc.snakeCase}.serializer.g.dart;'),
]);
modelLib.body.add(new Class((modelClazz) {

View file

@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
description: Command-line tools for the Angel framework.
homepage: https://github.com/angel-dart/angel_cli
name: angel_cli
version: 1.3.2
version: 1.3.3
dependencies:
analyzer: ">=0.32.0"
args: ^1.0.0