Skip to content

Commit ce37acf

Browse files
committed
Add exclude to Cargo.toml
Excludes tests and documentation, which isn't necessary to build, and therefore not necessary for the .crate tarball.
1 parent 9290ed0 commit ce37acf

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)