Skip to content

Commit

Permalink
feature: DryIce is now by default Dart 2.x ready and uses reflectable
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMitterer committed Jun 1, 2018
2 parents 52cb383 + cf7ada0 commit 98c1ed2
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Analyzer options:
# https://www.dartlang.org/guides/language/analysis-options
#
analyzer:
# Hoffnung auf Änderung für super-call
strong-mode: true

# Exclude wegen https://github.com/dart-lang/sdk/issues/26420
# und https://github.com/dart-lang/test/issues/436
# exclude:
# - test/**


32 changes: 32 additions & 0 deletions build.jenkins
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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/dryice.dart'
}
}
}
stage('Test') {
steps {
ansiColor('xterm') {
sh 'pub run build_runner test'
sh 'pub run build_runner test -- -p chrome'
}
}
}
}
}

2 changes: 1 addition & 1 deletion lib/src/mirror_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

part of dryice;

final Logger _logger = new Logger('dryice._validate');
// final Logger _logger = new Logger('dryice._validate');

/// Wrapper for [TypeMirror] to support multiple named registration for the same [Type] */
class TypeMirrorWrapper {
Expand Down

0 comments on commit 98c1ed2

Please sign in to comment.