dart - how do I simply run latest examples of project like web ui or widgets -


if have specifies web ui in pubspec ends in place $home/.pub-cache/hosted/pub.dartlang.org/web_ui-0.4.7+3. noticed todomvc appears in example folder. hoping run examples, loaded existing folder web_ui-0.4.7+3 darteditor. tried pub install/update , build. did not work due '+' in folder name.

so, next git cloned web-ui project , tried pub update similarly. issue "web_ui requires sdk version >=0.5.7+1 current sdk 0.5.5+0.r22416", can understand - out on github more bleeding edge. update whenever icon on darteditor indicates time to, here seems if latest of package can depend on later sdk have editor. have had same issue when clone package such 'widgets'. author said issue going directly github instead of using pub , if used pub ok. i'm not clear on means, because me using pub means have project in pull in , use specific library , maybe resources. run latest of /examples/ in project web ui or widgets need create own project , reference them run them?

so, first going on, in sense develompent process has developers on later versions of sdk. if rely on darteditor update sdk , use pubspec - not issue. but, easy have 2 setups, 1 latest perspective of released darteditor , latest sdk , if how?

i figured out copy existing web_ui-0.4.7+3 /tmp/web_ui load dart editor , run, (breakpoints not yet working me on mac). still know how run on latest , sensible way package , run it's examples.

see comment on editor version.

regarding examples. examples package not accessed pub cache. unable find bug on making available though believe planed. created separate issue 10668 this.

in mean time, 1 solution clone git-hub repository examples mentioned. have discovered these development versions , can vary or break versions have installed.

another solution locate package on pub repository. such web_ui package. on page, can click on 'versions' tab @ top see list of stable versions have been released.

on page can download entire package, similar cloning repository stable version, , extract directory of choosing. should able load full project editor. need load full project editor, not example directory. run pub install if doesn't automatically, , should able run examples.

regarding running multiple versions: package developers choose keep 2 installations of dart editor. 1 stable version released weekly , updated through editor itself. other use dart continuous build updated @ least once day , more often. in these cases know of developers setup script automatically download latest continuous build each morning , extract it. dart editor page provides link latest continuous build under links stable downloads. continuous build bleeding_edge version may break time time.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -