eclipse - Writing Dart build scripts = builder.dart -
this should easy 1 answer. want write dart editor 'build plugin'.
the first question documentation or 'how to'? first task consider me deal issue , clean-up old stuff:
after idea of how implement build script; want know how find dart build files, caches, etc may need bit of clean-up. in eclipse tell eclipse clean-up, leading me third question.
if want add-to or enhance dart editor options menu; can instructions on doing that?
currently not possible extend darteditor menues. planned allow add items tools menu far know work on has not yet started (see https://code.google.com/p/dart/issues/detail?id=16921).
normally don't have clean in dart.
far know, pub
preferred build tool.
pub build
writes in build
directory.
when web
built result goes build/web
(similar example
, test
, ...)
the build results automatically deleted before new build.
therefore should not necessary clean-up. if want clean something, delete build directory inside package.
edit-by: will
the following snippet current dart polymer documentation web page. couldn't put in comment because needed format code example. hope that's ok.
build.dart example:
code
import 'package:polymer/builder.dart'; void main(list<string> args) { lint(entrypoints: ['web/index.html'], options: parseoptions(args)); }
Comments
Post a Comment