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

Unified Diff: app/doc/pub-build.markdown

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: Fit in 80 columns. 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
« no previous file with comments | « app/doc/package-layout.markdown ('k') | app/doc/pub-cache.markdown » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/doc/pub-build.markdown
diff --git a/app/doc/pub-build.markdown b/app/doc/pub-build.markdown
deleted file mode 100644
index 1ab7ffec426594c26274b1c71e43e23cbce28a36..0000000000000000000000000000000000000000
--- a/app/doc/pub-build.markdown
+++ /dev/null
@@ -1,51 +0,0 @@
----
-title: "Command: Build"
----
-
- $ pub build [--mode=<mode>]
-
-Use `pub build` when you're ready to deploy your web app. When you run
-`pub build`, it generates the [assets](glossary.html#asset) for the current
-package and all of its dependencies, putting them into a new directory
-named `build`.
-
-To use `pub build`, just run it in your package's root directory. For example:
-
- $ cd ~/dart/helloworld
- $ pub build
- Building helloworld......
- Built 5 files!
-
-If the build directory already exists, `pub build` deletes it and then creates
-it again.
-
-To generate assets, `pub build` uses
-[transformers](glossary.html#transformer). Any source assets that aren'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.
-
-See [Assets and Transformers](assets-and-transformers.html) for information on:
-
-* Where in your package to put assets.
-* What URLs to use when referring to assets.
-* How to use `pubspec.yaml` to specify which transformers run, and in
- what order.
-
-Also see [`pub serve`](pub-serve.html). With `pub serve`, you can run a
-development server that continuously generates and serves assets.
-
-## Options
-
-### `--mode=<mode>`
-
-Specifies a transformation mode. Typical values are "debug" and "release", but
-any word is allowed. Transformers may use this to change how they behave.
-
-If set to "release" 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.
-
-If omitted, it defaults to "release".
« no previous file with comments | « app/doc/package-layout.markdown ('k') | app/doc/pub-cache.markdown » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698