Igor Minar
fda8b1d87c
build(gulp): don't try to run cleanup.builder task if builders were not initialized
2015-06-08 13:05:04 -07:00
Igor Minar
7140c9cc34
build: make 'npm install' work reliably and issue build warning when node_modules look stale
...
This is done a in bit kludgy way on purpose so that it works on Windows and CI.
Works around npm/npm#8452.
Closes #2038
2015-06-08 13:05:04 -07:00
Igor Minar
f3dd9b5b31
build(clang-format): skip formatting of spec files until angular/clang-format#11 is fixed
...
otherwise checking format and reformatting takes 50seconds or more :-(
2015-06-06 15:07:01 -07:00
Tobias Bosch
46eeee6b5e
feat(build): add test.unit.dartvm for a faster roundtrip of dartvm tests
2015-06-05 13:11:23 -07:00
Martin Probst
f999d5a156
chore: move to clang-format 1.0.17.
...
clang-format 1.0.17 substantially improves formatting for fat arrow functions
and array literal detection. It also fixes a number of minor formatting issues.
2015-06-03 15:27:27 -07:00
Brian Ford
f74d7727ca
fix(build): remove nonexistant dart format task from gulpfile
2015-06-03 15:03:29 -07:00
Brian Ford
381d4cb30a
fix(gulp): prevent duplicate error messages
...
Closes #2021
2015-06-03 14:42:24 -07:00
Caitlin Potter
be88cc7697
chore(build): watch logger should honor ignoreInitial option
...
It was confusing because the test.unit.dart task does ignore the initial, and
the logger was hardcoded to always ignore the first task, leading to the appearance
that a run was happening twice for no reason.
Also, fixed the "fake ignoreInitial" handling to not rely on a fake event, which
is not necessary.
Closes #2101
2015-06-02 14:07:36 -04:00
Tim Blasi
8bcfb2d465
chore(dart/change_detect): Fix test.unit.dart gulp target
...
Include Change Detector generation in the `test.unit.dart` gulp task to
fix the change detection unit tests.
Closes #2236
2015-06-01 16:15:53 -07:00
Ivo Gabe de Wolff
6f0631c978
build(gulp): remove unnecessary stream merging in build.tools
...
Also remove the reporter config which is wrong and has no effect.
Closes #2209
2015-05-29 16:11:43 -07:00
Caitlin Potter
e5d06e479a
feat(broccoli): add incremental dartfmt plugin
...
Closes #2211
2015-05-29 18:55:37 -04:00
Tim Blasi
8a3b0b366f
feat(dart/transform): Generate ChangeDetector classes
...
Use the `ProtoViewDto` created by the render `Compiler` to create a
`ChangeDetectorDefinition`.
From there, generate a subclass of `AbstractChangeDetector` for each
`ChangeDetectorDefinition`.
Run some basic unit tests for the dynamic and JIT change detectors on
pre-generated change detectors.
2015-05-29 14:48:53 -07:00
Jeff Cross
e323c07ab9
refactor(benchpress): convert src and test to typescript
...
Fixes #2007
2015-05-29 14:02:58 -07:00
Igor Minar
533c64d4ea
build(gulp): remove obsolete watch.js.dev build task
2015-05-28 11:44:37 -07:00
Alex Eagle
16447ce75c
chore(build): improve messaging when using clang-format
2015-05-22 10:10:22 -07:00
Caitlin Potter
e50f537667
build(gulp): turn off dartfmt logs by default
...
Closes #2105
2015-05-22 12:18:42 -04:00
Rado Kirov
05fa9bc9fb
feat(router): add the router bundle to the bundle task.
2015-05-22 15:31:09 +02:00
Igor Minar
5ed091e260
build(gulp): fix test.unit.dart
...
- format code for the first run
- don't run tests if first build fails
Closes #1647
2015-05-21 23:50:56 -07:00
Igor Minar
dee4ecbb3f
build(gulp): fix typo in the npm version warning message
2015-05-20 11:32:46 -07:00
cexbrayat
ec90fcd290
build(test): remove unecessary require in karma.conf
2015-05-20 08:28:38 +02:00
Igor Minar
d18463dcdc
build(gulp): exec karma run in a new process to avoid duplicate output
...
This is not an ideal solution, but I couldn't find another way to supress the output from the runner.
Closes #1813
2015-05-19 23:15:53 -07:00
Igor Minar
f9f917bfa4
build(gulp): fix cleanup.builder task
...
- wait for the cleanup to finish (it's async) before exiting on ctrl+c
- wait for the cleanup to finish (it's async) onBeforeExit
- remove tmp directory during onBeforeExit to cleanup past leaks
Closes #1919
2015-05-19 23:15:53 -07:00
Igor Minar
e89bf01c2b
build(gulp): don't throw exceptions on exit when angularBuilder was not initialized
2015-05-19 23:15:53 -07:00
Igor Minar
d04a515eb0
build(gulp): refactor existing cleanup tasks
...
the current complexity is unjustified necessary
2015-05-19 23:15:53 -07:00
Caitlin Potter
d9ceb42bfe
chore(gulp): log message when tasks triggered by watch
...
Closes #1882
Closes #1893
2015-05-18 14:34:36 -07:00
Igor Minar
77bf90dff1
build(gulp): don't print stack from jasmine handler failures in ci mode
...
jasmine already logs all the test failures so that stack is redundant.
2015-05-14 10:01:07 -07:00
Caitlin Potter
b1ef30aa20
test(watch): add some test coverage for watch build plugin
...
Closes #1890
2015-05-14 04:44:38 -04:00
Igor Minar
47b8b48ee7
build(gulp): log test errors but suppress error handling within gulp while in watch mode
...
if any tasks executed by gulp results in an error, gulp will try hard to show errors. these are usually irelevant in the
watch mode. this is why it's ok to supress them except when running in the ci test mode, in which case failing tasks and logging
exceptions is helpful.
Closes #1881
2015-05-13 22:25:15 -07:00
Caitlin Potter
23cec1e8e2
build(gulp): use chokidar alone instead of gulp-watch
...
Closes #1759
2015-05-13 19:21:35 -04:00
Igor Minar
718d2ae2ee
build(gulp): run beforeExit hook only once
...
this prevents inifinite loops when cleanup task registers an additional task, that triggers a new beforeExit event
Fixes #1833
2015-05-13 00:57:13 -07:00