Skip to content

rpanjwani/dart-tutorials-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Game of Darts

Build Status

These are small Dart samples used by the online Dart tutorials: A Game of Darts

For links to running versions of all of the apps, visit index.html

Repo and testing

Currently, drone.io tests only whether the .dart files under web/ pass static analysis (dartanalyzer). We could do real unit testing, and we could do better with HTML samples.

Project structure

web/: Code samples used in the online tutorial. Contains sub-directories to organize the samples by target.

tool/: A tool that builds and deploys the gh-pages version of the apps. To build the samples and push the changes to the gh-pages repo, run these commands from the top-level directory. Make sure Dart is in your path:

pub update && dart tool/hop_runner.dart pages

README.md: This file.

runtests.sh: BASH script that runs dartanalyzer on all Dart source files in the web directory.

About

Sample code for "A Game of Darts" tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published