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.
.buildlog
# Files and directories created by pub
.dart_tool
.packages
.pub/
build/
packages
.packages
.dart_tool/
# Or the files created by dart2js.
*.dart.js
*.js_
*.js.deps
*.js.map
# Include when developing application packages.
# Remove the following pattern if you wish to check in your lock file
pubspec.lock
\.idea/
# Directory created by dartdoc
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
[license](https://github.com/dart-lang/stagehand/blob/master/LICENSE).
It should be replaced in the future by an actual readme.
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:
exclude: [build/**]
strong-mode: true
# exclude:
# - path/to/excluded/files/**
errors:
uri_has_not_been_generated: ignore
plugins:
- angular
# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
linter:

View File

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