Skip to content

Commit 168ba2e

Browse files
committed
---
yaml --- r: 81726 b: refs/heads/master c: 2fd3c07 h: refs/heads/master v: v3
1 parent 7e22fb0 commit 168ba2e

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 833a64d76e1d3ecca5f66469b1a8ec7c97a1c9d9
2+
refs/heads/master: 2fd3c07242e92b5f43ce8e120d711cde33a7ed1b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729

trunk/doc/tutorial.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ recommended.
6363

6464
Since the Rust compiler is written in Rust, it must be built by
6565
a precompiled "snapshot" version of itself (made in an earlier state
66-
of development). As such, source builds require a connection to
67-
the Internet, to fetch snapshots, and an OS that can execute the
68-
available snapshot binaries.
66+
of development). The source build automatically fetches these snapshots
67+
from the Internet on our supported platforms.
6968

7069
Snapshot binaries are currently built and tested on several platforms:
7170

trunk/man/rustpkg.1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Remove all generated files from the \fIbuild\fR directory in the target's worksp
2727
Builds the specified target, and all its dependencies, and then installs the
2828
build products into the \fIlib\fR and \fIbin\fR directories of their respective
2929
workspaces.
30+
.TP
31+
\fBinit\fR
32+
Initializes the current working directory into a workspace.
3033

3134
.SS "BUILD COMMAND"
3235

@@ -59,6 +62,17 @@ Examples:
5962
$ rustpkg install github.com/mozilla/servo.git#1.2
6063
$ rustpkg install rust-glfw
6164

65+
.SS "INIT COMMAND"
66+
67+
rustpkg init
68+
69+
This will turn the current working directory into a workspace. The first
70+
command you run when starting off a new project.
71+
72+
Example:
73+
74+
$ rustpkg init
75+
6276
.SH "ENVIRONMENT"
6377

6478
.TP

trunk/src/librustpkg/usage.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ Options:
150150
}
151151

152152
pub fn init() {
153-
io::println("rustpkg init name
153+
io::println("rustpkg init
154154
155-
This makes a new workspace for working on a project named name.
155+
This will turn the current working directory into a workspace. The first
156+
command you run when starting off a new project.
156157
");
157158
}

0 commit comments

Comments
 (0)