Clean up Package Structure and .gitignore

This commit is contained in:
Marty 2018-07-07 15:38:56 +02:00 committed by Marty Oehme
parent a9cf46d7a2
commit fffcc3fbae
4 changed files with 47 additions and 25 deletions

27
.gitignore vendored
View file

@ -1,18 +1,15 @@
# Dont commit the following directories created by pub. # Files and directories created by pub
.buildlog .dart_tool
.packages
.pub/ .pub/
build/ build/
packages # Remove the following pattern if you wish to check in your lock file
.packages
.dart_tool/
# Or the files created by dart2js.
*.dart.js
*.js_
*.js.deps
*.js.map
# Include when developing application packages.
pubspec.lock pubspec.lock
# Directory created by dartdoc
\.idea/ doc/api/
# See https://github.com/dart-lang/site-webdev/issues/1351
test/**/*.g.dart
# IDE Files
.idea/
# Files generated by Dolphin on Linux
.directory

View file

@ -1,6 +1,28 @@
# rules_of_living ## Cellular Automota
An absolute bare-bones web app. The following is still the readme generated by the angular sample app.
Created from templates made available by Stagehand under a BSD-style It should be replaced in the future by an actual readme.
[license](https://github.com/dart-lang/stagehand/blob/master/LICENSE).
Welcome to the example app used in the
[Setup for Development](https://webdev.dartlang.org/angular/guide/setup) page
of [Dart for the web](https://webdev.dartlang.org).
You can run a [hosted copy](https://webdev.dartlang.org/examples/quickstart) of this
sample. Or run your own copy:
1. Create a local copy of this repo (use the "Clone or download" button above).
2. Get the dependencies: `pub get`
3. Get the webdev tool: `pub global activate webdev`
4. Launch a development server: `webdev serve`
5. In a browser, open [http://localhost:8080](http://localhost:8080)
---
*Note:* The content of this repository is generated from the
[Angular docs repository][docs repo] by running the
[dart-doc-syncer](//github.com/dart-lang/dart-doc-syncer) tool.
If you find a problem with this sample's code, please open an [issue][].
[docs repo]: //github.com/dart-lang/site-webdev/tree/master/examples/ng/doc/quickstart
[issue]: //github.com/dart-lang/site-webdev/issues/new?title=[master]%20examples/ng/doc/quickstart

View file

@ -1,7 +1,10 @@
analyzer: analyzer:
exclude: [build/**]
strong-mode: true strong-mode: true
# exclude: errors:
# - path/to/excluded/files/** uri_has_not_been_generated: ignore
plugins:
- angular
# Lint rules and documentation, see http://dart-lang.github.io/linter/lints # Lint rules and documentation, see http://dart-lang.github.io/linter/lints
linter: linter:

View file

@ -1,8 +1,8 @@
name: rules_of_living name: rules_of_living
description: An absolute bare-bones web app. description: A web app displaying Cellular Automata
# version: 1.0.0 version: 0.0.1
#homepage: https://www.example.com author: Marty Oehme <marty.oehme@gmail.com>
#author: marty <email@example.com> homepage: https://www.martyoehme.org/
environment: environment:
sdk: '>=2.0.0-dev.66.0 <2.0.0' sdk: '>=2.0.0-dev.66.0 <2.0.0'