Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rust Openssl
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public Repositories
Rust Openssl
Commits
2a66e858
Commit
2a66e858
authored
Dec 19, 2015
by
Steven Fackler
Browse files
Options
Downloads
Patches
Plain Diff
Add a script to build docs with all features enabled
parent
e85b49d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_docs.sh
+10
-0
10 additions, 0 deletions
build_docs.sh
with
10 additions
and
0 deletions
build_docs.sh
0 → 100755
+
10
−
0
View file @
2a66e858
#!/bin/bash
set
-e
export
CARGO_TARGET_DIR
=
target
for
toml
in
$(
find
.
-maxdepth
2
-name
"Cargo.toml"
)
;
do
cargo update
--manifest-path
$toml
||
true
features
=
$(
cargo read-manifest
--manifest-path
$toml
| jq
-r
'.features|keys|join(" ")'
)
cargo doc
--verbose
--no-deps
--manifest-path
$toml
--features
"
$features
"
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment