File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: b854d6ea1caf9051fcd3da822e0f65c437d1ed84
4
+ refs/heads/snap-stage3: d805859ff5bf90f7513550453a7fd797eb2e778d
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -95,12 +95,22 @@ When building a package that is in a `git` repository,
95
95
When building a package that is not under version control,
96
96
or that has no tags, ` rustpkg ` assumes the intended version is 0.1.
97
97
98
+ # Dependencies
99
+
100
+ rustpkg infers dependencies from ` extern mod ` directives.
101
+ Thus, there should be no need to pass a ` -L ` flag to rustpkg to tell it where to find a library.
102
+ (In the future, it will also be possible to write an ` extern mod ` directive referring to a remote package.)
103
+
98
104
# Custom build scripts
99
105
100
106
A file called ` pkg.rs ` at the root level in a workspace is called a * package script* .
101
107
If a package script exists, rustpkg executes it to build the package
102
108
rather than inferring crates as described previously.
103
109
110
+ Inside ` pkg.rs ` , it's possible to call back into rustpkg to finish up the build.
111
+ ` rustpkg::api ` contains functions to build, install, or clean libraries and executables
112
+ in the way rustpkg normally would without custom build logic.
113
+
104
114
# Command reference
105
115
106
116
## build
You can’t perform that action at this time.
0 commit comments