Commit Graph

59 Commits

Author SHA1 Message Date
Tobias Bosch 8db77f2405 refactor(build): simplify and modularize
simplify:
- use same html file for dart and JS
- build benchmarks automatically when doing `gulp build`
- centralize configuration

modularize:
- move all build tasks into separate node.js modules under
  `tools/build`.

changes:
- the `build` folder is now the `dist` folder

Closes #284
2014-12-05 16:30:36 -08:00
Rado Kirov 03e2c94c6c doc(readme): adds examples to readme. 2014-11-21 16:27:54 -08:00
Victor Berchet ec7e8534c2 doc(debug): add instructions for debugging the tests in the README 2014-10-30 09:58:23 +01:00
Blake La Pierre 87b0d3fcc5 docs(readme): add missing prerequsite [karma-cli]
Closes #102
2014-10-28 21:03:06 -07:00
Harry Wolff abb3ee4507 docs(readme): add installation of pub as a pre-requisite
Closes #113
2014-10-28 20:59:24 -07:00
Victor Berchet 99bad64c3f doc(README): HOWTO debug the transpiler 2014-10-01 17:32:59 +02:00
Victor Berchet 92375c0281 chore(README): update instructions 2014-09-30 14:21:46 +02:00
Tobias Bosch 85b5543f62 feat: travis-ci integration 2014-09-29 16:33:53 -07:00
Tobias Bosch c79f0c3472 refactor: simplify and make tests work in JS and Dart
* remove `wraps` syntax enhancements for imports
  and support new `import * as module from ...` syntax

  - default imports are the wrong construct for importing
    everything from a module

* moved tests from transpiler to jasmine and karma

  - transpiler tests are included when running karma in main project folder
  - transpiler is reloaded after every test run in karma,
    so no need to restart karma when the transpiler has been changed.
  - removed own gulp build for transpiler and `postinstall.sh`
    as they are no more needed.
  - transpiler tests are now executed in Dart AND JavaScript (used to be executed
    only in Dart), which allowed to catch some bugs (see the bug with the
    import specification above).

* made tests work in dart as well by using the following hack:

  - dependencies are loaded from the `build` folder, which makes
    running `gulp build` necessary before running karma for dart
  - for this to work,
    the dependencies are included in main `pubspec.yaml` of project
  - reason for the hack: `karma-dart` loads all `packages` urls
    directly from disc (should rather use the karma file list)

* added explicit annotations `FIELD`, `ABSTRACT`, ... to `facade/lang.*`

  - needed for now that we can run tests and don't get errors for undefined
    annotations.

* added `README.md` with details about the build and tests
2014-09-28 21:50:38 -07:00