Skip to content
Permalink
Browse files

doc: Example works

  • Loading branch information
MikeMitterer committed Nov 15, 2018
0 parents commit 6e4bde99ee826c4f3bdbc679d577a6e5fd33866d
@@ -0,0 +1,11 @@
# Files and directories created by pub
.dart_tool/
.packages
# Remove the following pattern if you wish to check in your lock file
pubspec.lock

# Conventional directory for build outputs
build/

# Directory created by dartdoc
doc/api/
@@ -0,0 +1,3 @@
## 1.0.0

- Initial version, created by Stagehand
34 LICENSE
@@ -0,0 +1,34 @@
Copyright (c) 2018, Michael Mitterer (office@mikemitterer.at),
IT-Consulting and Development Limited.

All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the Michael Mitterer, IT-Consulting
and Development Limited, Austrian Branch, nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL Michael Mitterer,
IT-Consulting and Development Limited, Austrian Branch, BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,11 @@
# Material 4 Dart - Dialogs

## Examples
> [GitHub](https://github.com/MikeMitterer/m4d_dialog)
- [m4d_dialog.example.mikemitterer.at](http://m4d_dialog.example.mikemitterer.at)
- [m4d_notification.example.mikemitterer.at](http://m4d_notification.example.mikemitterer.at)
- [m4d_snackbar.example.mikemitterer.at](http://m4d_snackbar.example.mikemitterer.at)



@@ -0,0 +1,14 @@
analyzer:
# exclude:
# - path/to/excluded/files/**

# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
linter:
rules:
- cancel_subscriptions
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- test_types_in_equals
- unrelated_type_equality_checks
- valid_regexps
@@ -0,0 +1,47 @@
pipeline {
agent {
label 'linux'
}
stages {
stage('Preparation') {
steps {
timeout(time: 15, unit: 'MINUTES') {
ansiColor('xterm') {
sh 'pub update'
}
}

}
}
stage('Analyze') {
steps {
ansiColor('xterm') {
sh 'dartanalyzer lib/'
// sh 'dartanalyzer test/'
}
}
}
/*
stage('Test') {
steps {
ansiColor('xterm') {
sh 'pub run test test -p chrome'
}
}
}
*/
stage('Deploy samples') {
steps {
timeout(time: 30, unit: 'MINUTES') {
ansiColor('xterm') {
sh 'deploySamples.sh --prepare'
sh 'deploySamples.sh --update'
sh 'deploySamples.sh --deploy --release'
sh 'deploySamples.sh --publish --force'
}
}
}
}
}
}

0 comments on commit 6e4bde9

Please sign in to comment.
You can’t perform that action at this time.