Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Unified Diff: app/views/doc/pub-build.html

Issue 162403002: Remove docs and point to ones on dartlang.org. (Closed) Base URL: https://github.com/dart-lang/pub-dartlang.git@master
Patch Set: Re-upload. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: app/views/doc/pub-build.html
diff --git a/app/views/doc/pub-build.html b/app/views/doc/pub-build.html
deleted file mode 100644
index 1797fb5f8ffc393e8bba1ef205cf1d8ec272d0f0..0000000000000000000000000000000000000000
--- a/app/views/doc/pub-build.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<pre><code>$ pub build [--mode=&lt;mode&gt;]
-</code></pre>
-
-<p>Use <code>pub build</code> when you&rsquo;re ready to deploy your web app. When you run
-<code>pub build</code>, it generates the <a href="glossary.html#asset">assets</a> for the current
-package and all of its dependencies, putting them into a new directory
-named <code>build</code>.</p>
-
-<p>To use <code>pub build</code>, just run it in your package&rsquo;s root directory. For example:</p>
-
-<pre><code>$ cd ~/dart/helloworld
-$ pub build
-Building helloworld......
-Built 5 files!
-</code></pre>
-
-<p>If the build directory already exists, <code>pub build</code> deletes it and then creates
-it again.</p>
-
-<p>To generate assets, <code>pub build</code> uses
-<a href="glossary.html#transformer">transformers</a>. Any source assets that aren&rsquo;t
-transformed are copied, as is, into the build directory or one of its
-subdirectories. Pub also automatically compiles your Dart application to
-JavaScript using dart2js.</p>
-
-<p>See <a href="assets-and-transformers.html">Assets and Transformers</a> for information on:</p>
-
-<ul>
- <li>Where in your package to put assets.</li>
- <li>What URLs to use when referring to assets.</li>
- <li>How to use <code>pubspec.yaml</code> to specify which transformers run, and in
-what order.</li>
-</ul>
-
-<p>Also see <a href="pub-serve.html"><code>pub serve</code></a>. With <code>pub serve</code>, you can run a
-development server that continuously generates and serves assets.</p>
-
-<h2 id="options">Options</h2>
-
-<h3 id="modemode"><code>--mode=&lt;mode&gt;</code></h3>
-
-<p>Specifies a transformation mode. Typical values are &ldquo;debug&rdquo; and &ldquo;release&rdquo;, but
-any word is allowed. Transformers may use this to change how they behave.</p>
-
-<p>If set to &ldquo;release&rdquo; pub will generate minified JavaScript using dart2js.
-Otherwise, it generates it unminified. Also, in release mode, Pub will not
-include any source .dart files in the resulting build output since they have
-been compiled to JavaScript. In any other mode, the raw Dart files will be
-included.</p>
-
-<p>If omitted, it defaults to &ldquo;release&rdquo;.</p>

Powered by Google App Engine
This is Rietveld 408576698