Skip to content

Commit 3a86bc8

Browse files
committed
Initial boilerplate
0 parents  commit 3a86bc8

File tree

7 files changed

+127
-0
lines changed

7 files changed

+127
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.packages
2+
.pub/
3+
build/
4+
pubspec.lock

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
language: dart
2+
3+
# By default, builds are run in containers.
4+
# https://docs.travis-ci.com/user/getting-started/#Selecting-infrastructure-(optional)
5+
# Set `sudo: true` to disable containers if you need to use sudo in your scripts.
6+
# sudo: true
7+
8+
dart:
9+
- dev
10+
- stable
11+
12+
# See https://docs.travis-ci.com/user/languages/dart/ for details.
13+
dart_task:
14+
- test: --platform vm
15+
# Uncomment this line to run tests on the browser.
16+
# - test: --platform firefox
17+
18+
# Only run one instance of the formatter and the analyzer, rather than running
19+
# them against each Dart version.
20+
matrix:
21+
include:
22+
- dart: stable
23+
dart_task: dartfmt
24+
- dart: dev
25+
dart_task: dartanalyzer
26+
27+
# Only building master means that we don't run two builds for each pull request.
28+
branches:
29+
only: [master]
30+
31+
cache:
32+
directories:
33+
- $HOME/.pub-cache

AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Below is a list of people and organizations that have contributed
2+
# to the project. Names should be added to the list like so:
3+
#
4+
# Name/Organization <email address>
5+
6+
Google Inc.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.1.0
2+
3+
* Initial version.

CONTRIBUTING.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Want to contribute? Great! First, read this page (including the small print at
2+
the end).
3+
4+
### Before you contribute
5+
6+
Before we can use your code, you must sign the
7+
[Google Individual Contributor License Agreement][CLA] (CLA), which you can do
8+
online. The CLA is necessary mainly because you own the copyright to your
9+
changes, even after your contribution becomes part of our codebase, so we need
10+
your permission to use and distribute your code. We also need to be sure of
11+
various other things—for instance that you'll tell us if you know that your code
12+
infringes on other people's patents. You don't have to sign the CLA until after
13+
you've submitted your code for review and a member has approved it, but you must
14+
do it before we can put your code into our codebase.
15+
16+
Before you start working on a larger contribution, you should get in touch with
17+
us first through the issue tracker with your idea so that we can help out and
18+
possibly guide you. Coordinating up front makes it much easier to avoid
19+
frustration later on.
20+
21+
[CLA]: https://cla.developers.google.com/about/google-individual
22+
23+
### Code reviews
24+
25+
All submissions, including submissions by project members, require review. We
26+
recommend [forking the repository][fork], making changes in your fork, and
27+
[sending us a pull request][pr] so we can review the changes and merge them into
28+
this repository.
29+
30+
[fork]: https://help.github.com/articles/about-forks/
31+
[pr]: https://help.github.com/articles/creating-a-pull-request/
32+
33+
Functional changes will require tests to be added or changed. The tests live in
34+
the `test/` directory, and are run with `pub run test`. If you need to create
35+
new tests, use the existing tests as a guideline for what they should look like.
36+
37+
Before you send your pull request, make sure all the tests pass!
38+
39+
### File headers
40+
41+
All files in the project must start with the following header.
42+
43+
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
44+
// for details. All rights reserved. Use of this source code is governed by a
45+
// BSD-style license that can be found in the LICENSE file.
46+
47+
### The small print
48+
49+
Contributions made by corporations are covered by a different agreement than the
50+
one above, the
51+
[Software Grant and Corporate Contributor License Agreement][CCLA].
52+
53+
[CCLA]: https://developers.google.com/open-source/cla/corporate

LICENSE

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright 2017, the Dart project authors. All rights reserved.
2+
Redistribution and use in source and binary forms, with or without
3+
modification, are permitted provided that the following conditions are
4+
met:
5+
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above
9+
copyright notice, this list of conditions and the following
10+
disclaimer in the documentation and/or other materials provided
11+
with the distribution.
12+
* Neither the name of Google Inc. nor the names of its
13+
contributors may be used to endorse or promote products derived
14+
from this software without specific prior written permission.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
analyzer:
2+
strong-mode: true

0 commit comments

Comments
 (0)