summaryrefslogtreecommitdiff
path: root/tutorial/dart
diff options
context:
space:
mode:
authorMark Erickson <merickson@apache.org>2016-12-13 22:20:03 -0600
committerMark Erickson <merickson@apache.org>2016-12-13 22:20:03 -0600
commit0d9b713b173f35ce02552b2f4372899440a99b25 (patch)
treec623e305a4c461af5d036c9293a0776647a6ec94 /tutorial/dart
parent60611917cf309d2a25b9cd8f8b5631784b07323d (diff)
downloadthrift-0d9b713b173f35ce02552b2f4372899440a99b25.tar.gz
THRIFT-3981 Enable analyzer strong mode in Dart library
Client: Dart Patch: Mark Erickson <merickson@apache.org> This closes #1135
Diffstat (limited to 'tutorial/dart')
-rw-r--r--tutorial/dart/client/.analysis_options2
-rw-r--r--tutorial/dart/client/pubspec.yaml2
-rw-r--r--tutorial/dart/console_client/.analysis_options2
-rw-r--r--tutorial/dart/console_client/pubspec.yaml4
-rw-r--r--tutorial/dart/server/.analysis_options2
-rw-r--r--tutorial/dart/server/pubspec.yaml4
6 files changed, 13 insertions, 3 deletions
diff --git a/tutorial/dart/client/.analysis_options b/tutorial/dart/client/.analysis_options
new file mode 100644
index 000000000..a10d4c5a0
--- /dev/null
+++ b/tutorial/dart/client/.analysis_options
@@ -0,0 +1,2 @@
+analyzer:
+ strong-mode: true
diff --git a/tutorial/dart/client/pubspec.yaml b/tutorial/dart/client/pubspec.yaml
index 4bd3394a1..db64afcfc 100644
--- a/tutorial/dart/client/pubspec.yaml
+++ b/tutorial/dart/client/pubspec.yaml
@@ -22,7 +22,7 @@ author: Apache Thrift Developers <dev@thrift.apache.org>
homepage: http://thrift.apache.org
environment:
- sdk: ^1.12.0
+ sdk: ">=1.13.0 <2.0.0"
dependencies:
browser: ^0.10.0
diff --git a/tutorial/dart/console_client/.analysis_options b/tutorial/dart/console_client/.analysis_options
new file mode 100644
index 000000000..a10d4c5a0
--- /dev/null
+++ b/tutorial/dart/console_client/.analysis_options
@@ -0,0 +1,2 @@
+analyzer:
+ strong-mode: true
diff --git a/tutorial/dart/console_client/pubspec.yaml b/tutorial/dart/console_client/pubspec.yaml
index 1423ed279..cea13acd5 100644
--- a/tutorial/dart/console_client/pubspec.yaml
+++ b/tutorial/dart/console_client/pubspec.yaml
@@ -21,8 +21,10 @@ description: >
A Dart console client to implementation of the Apache Thrift tutorial
author: Apache Thrift Developers <dev@thrift.apache.org>
homepage: http://thrift.apache.org
+
environment:
- sdk: ^1.12.0
+ sdk: ">=1.13.0 <2.0.0"
+
dependencies:
args: ^0.13.0
collection: ^1.1.0
diff --git a/tutorial/dart/server/.analysis_options b/tutorial/dart/server/.analysis_options
new file mode 100644
index 000000000..a10d4c5a0
--- /dev/null
+++ b/tutorial/dart/server/.analysis_options
@@ -0,0 +1,2 @@
+analyzer:
+ strong-mode: true
diff --git a/tutorial/dart/server/pubspec.yaml b/tutorial/dart/server/pubspec.yaml
index cdb2dc7a3..4833a4af8 100644
--- a/tutorial/dart/server/pubspec.yaml
+++ b/tutorial/dart/server/pubspec.yaml
@@ -20,8 +20,10 @@ version: 1.0.0-dev
description: A Dart server to support the Apache Thrift tutorial
author: Apache Thrift Developers <dev@thrift.apache.org>
homepage: http://thrift.apache.org
+
environment:
- sdk: ^1.12.0
+ sdk: ">=1.13.0 <2.0.0"
+
dependencies:
args: ^0.13.0
shared: