Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Update generated code. (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
domesticmouse authored May 20, 2020
1 parent 7cd6059 commit a466576
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 42 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ dart:
cache:
directories:
- $HOME/.pub-cache
- templates/console-simple/.dart_tool
- templates/console-full/.dart_tool
- templates/package-simple/.dart_tool
- templates/web-angular/.dart_tool
- templates/web-simple/.dart_tool
- templates/web-stagexl/.dart_tool

addons:
chrome: stable
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## 3.3.9

- Change the entry points to follow the pattern `packageName/bin/packageName.dart`
- Changed the entry points to follow the pattern `packageName/bin/packageName.dart`
instead of `packageName/bin/main.dart`
- Update `.gitignore` files to match current `pubspec.lock` guidance:
- Updated `.gitignore` files to match current `pubspec.lock` guidance:
https://dart.dev/guides/libraries/private-files#pubspeclock

## 3.3.8
Expand Down
6 changes: 2 additions & 4 deletions lib/src/generators/console_full.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/src/generators/console_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions lib/src/generators/package_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/src/generators/server_shelf.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/src/generators/web_angular.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/src/generators/web_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions lib/src/generators/web_stagexl.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions test/validate_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ void _testGenerator(stagehand.Generator generator, Directory tempDir) {
arguments: ['--mock-analytics', generator.id],
runOptions: RunOptions(workingDirectory: tempDir.path));

var gitIgnorePath = path.join(tempDir.path, '.gitignore');
var gitIgnoreFile = File(gitIgnorePath);

expect(gitIgnoreFile.readAsStringSync(), _expectedGitIgnore,
reason: 'Expected all of the .gitignore files to be identical.');

var pubspecPath = path.join(tempDir.path, 'pubspec.yaml');
var pubspecFile = File(pubspecPath);
var pubspecContentString = pubspecFile.readAsStringSync();
Expand Down

0 comments on commit a466576

Please sign in to comment.