Skip to content

Commit 6038459

Browse files
author
bors-servo
authored
Auto merge of #128 - fitzgen:exludes, r=SimonSapin
Add `exclude` to `Cargo.toml` Excludes tests and documentation, which isn't necessary to build, and therefore not necessary for the .crate tarball. Excluding ICU causes the build to fail. We can investigate this later, if we feel the need. We now have a 50M limit for our crate on crates.io, so we should be able to publish now either way. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/128) <!-- Reviewable:end -->
2 parents 9290ed0 + ce37acf commit 6038459

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ authors = ["Mozilla"]
77
links = "mozjs"
88
build = "build.rs"
99
license = "MPL-2.0"
10+
exclude = [
11+
"mozjs/js/src/tests/**",
12+
"mozjs/js/src/octane/**",
13+
"mozjs/js/src/jit-test/**",
14+
"mozjs/js/src/jsapi-tests/**",
15+
"mozjs/js/src/doc/**",
16+
]
1017

1118
[features]
1219
debugmozjs = []

0 commit comments

Comments
 (0)