Skip to content

Commit

Permalink
Break on warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jun 4, 2013
1 parent 4d4c194 commit ed590d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
8 changes: 1 addition & 7 deletions build.xml
Expand Up @@ -48,15 +48,9 @@
<macrodef name="dart_analyze">
<attribute name="file" />
<sequential>
<exec executable="${dart_analyzer}" failonerror="false" resultproperty="result">
<exec executable="${dart_analyzer}" failonerror="true">
<arg line="${dart_analyzer.args} @{file}" />
</exec>
<fail>
<condition>
<!-- only fail if errors are found -->
<equals arg1="2" arg2="${result}"/>
</condition>
</fail>
</sequential>
</macrodef>

Expand Down
9 changes: 0 additions & 9 deletions example/demos/ball_cage.dart
Expand Up @@ -18,15 +18,6 @@ import 'package:box2d/box2d_browser.dart';

import 'demo.dart';

class CollisionListener implements ContactListener {
void beginContact(Contact contact) {
print("begin contact");
}
void endContact(Contact contact) {
print("end contact");
}
}

class BallCage extends Demo {
/** Starting position of ball cage in the world. */
static const num START_X = -20;
Expand Down

0 comments on commit ed590d0

Please sign in to comment.