Code Monkey home page Code Monkey logo

dart-tutorials-samples's Introduction

Dart Tutorials

Build Status

These are small Dart samples used by the online Dart tutorials.

Each directory in this repo represents a tutorial. The homepage field in each pubspec file points to the corresponding tutorial on www.dartlang.org.

Repo and testing

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

DartPad and Gist Files

Some of the tutorial examples execute using DartPad. The DartPad examples are organized so that each complete example is placed in a subdirectory, with its own pubspec and web/ directory.

DartPad grabs the source for these examples from gist files. The gist files are generated from the source in this repo using the gist generator.

You can update the gist files, as follows:

  • Clone the repo.
  • If needed, activate the gist executable: pub global activate --source git https://github.com/kasperpeulen/gist-generator
  • Change directory to the top of the repo.
  • Run "gist generate". See the readme for information on available options. If you are updating, or creating, gist files rather than generating a test gist, or performing a dry run of the gist generator, you'll need to provide a Gist token. (See the project lead for info on obtaining an existing Gist token.)

Additional files

README.md: This file.

runtests.sh: BASH script that runs dartanalyzer on all Dart source files in the web/ and bin/ directories.

dart-tutorials-samples's People

Contributors

marycampione avatar sfshaza2 avatar kwalrath avatar domesticmouse avatar adam-singer avatar sethladd avatar kevmoo avatar butlermatt avatar chalin avatar cwesdorp avatar jakemac53 avatar kasperpeulen avatar d2m avatar whesse avatar abicorios avatar sigmundch avatar thulka avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.