Rafael Beckel
ad86c68093
removes unused lines from fixture
8 months ago
Rafael Beckel
60e18c1538
implements custom build profile
...
solves https://github.com/rustwasm/wasm-pack/issues/1111
8 months ago
Jesper Håkansson
490703b75b
test: Bump version for wasm-bindgen
10 months ago
Esteban Borai
e885bc6dff
feat(webdriver): support geckodriver for `linux-aarch64`
10 months ago
Kade Robertson
e441467cec
test: accept new finish message
12 months ago
Heath Stewart
a0b7a52843
Respect package.readme in Cargo.toml
...
Fixes #1215 by honoring how package.readme is authored in Cargo.toml, if authored. This could be a path or a boolean to disable searching for the path.
Also fixes the existing `it_copies_a_readme_provided_path` test which was an exact copy - just with fewer empty lines - of `it_copies_a_readme_default_path` and wasn't honoring any authored path since there was no way to get the authored path.
2 years ago
Jesper Håkansson
927e716b87
Revert "Respect package.readme in Cargo.toml"
...
This reverts commit 22d6d728d0
.
2 years ago
Muhammad Hamza
6dc666b372
Invalid wasm-bindgen config is handled by toml parser
2 years ago
Muhammad Hamza
73e059f754
update to clap 4 from structopt
2 years ago
David Tolnay
7d08486ef0
Turn off cargo colors during log level test
2 years ago
Heath Stewart
22d6d728d0
Respect package.readme in Cargo.toml
...
Fixes #1215 by honoring how package.readme is authored in Cargo.toml, if authored. This could be a path or a boolean to disable searching for the path.
Also fixes the existing `it_copies_a_readme_provided_path` test which was an exact copy - just with fewer empty lines - of `it_copies_a_readme_default_path` and wasn't honoring any authored path since there was no way to get the authored path.
2 years ago
Tomas Olvecky
4190e5423f
Add sanity test for custom target directory
2 years ago
Muhammad Hamza
b6a30b0277
assert non-existence of other files as well
2 years ago
Muhammad Hamza
0c245183c0
remove reqwest from dev-deps
...
also regenerate lockfile to remove curl and friends from Cargo.lock
2 years ago
Liam Murphy
ad1778031f
Mark snippets and the bundler target's main file as having side effects
...
This is a less extreme version of #1208 , which only marks snippets and the main file on the bundler target as having side effects instead of all files.
This means that the shim file which contains the vast majority of the JS code is still properly marked as having no side effects, allowing bundlers to get rid of things like unused `new TextEncoder` calls which could theoretically have side effects but don't.
Fixes #972 .
2 years ago
printfn
7524f57006
Update dependencies
2 years ago
printfn
b9b38890cf
Update to Rust 2021
2 years ago
printfn
028076dfcb
Fix flaky unit tests due to non-existent cache
2 years ago
printfn
6ca10193d4
Update dependencies
2 years ago
printfn
30f2b0a262
Correctly download libbinaryen.dylib on macos
2 years ago
printfn
f73b53c5ab
Switch from failure to anyhow
2 years ago
Philipp Krüger
0d39cced6b
Test URL-building matrix
2 years ago
Gunnlaugur Þór Briem
4ca0f02dae
test: update new test to expect main instead of module
...
Update test case that landed after this PR was created, in
https://github.com/rustwasm/wasm-pack/pull/1061 , to expect main attribute in
package.json instead of module attribute.
4 years ago
Gunnlaugur Þór Briem
384238d554
test: update tests to conform to this change
4 years ago
Frederic Kettelhoit
5b1bd1af1f
Fix build test by using new syntax
4 years ago
Tom Parker-Shemilt
d8e64684e6
Remove direct usage of serial_test_derive
4 years ago
Joao Neves
d79e72189c
Implements RFC 8, fixing #606
4 years ago
Azriel Hoh
1f13f25d0f
Update tests with newer crate versions.
4 years ago
Azriel Hoh
b75773a2fe
Use `--manifest-path` for `Cargo.toml`, and modify `AppSettings`.
...
This allows the extra arguments to be forwarded through to `cargo`
without requiring `--` beforehand.
4 years ago
Azriel Hoh
d1cd431a51
Don't pass through test filter to `cargo build`.
4 years ago
Azriel Hoh
23452046ec
Passes `extra_options` to `cargo build --tests` when running `wasm-pack test`.
...
Issue #698
4 years ago
Pauan
fe26471dcf
Fixing build error
5 years ago
lucashorward
06ba9802e9
Made changes according to comment
5 years ago
lucashorward
af9b8aca8f
Format
5 years ago
lucashorward
bad4282fc5
Working but may need changes
5 years ago
lucashorward
f444b64e1e
Added keywords
5 years ago
0xd4d
6c0c144435
Find the main package if multiple packages have the same name
5 years ago
Thomas Graviou
0535422605
Fix logs for uniformity
5 years ago
Ashley Williams
5218be592c
refactor(tool): wasm-opt is a tool variant
5 years ago
Avery Harnish
c71ef6f7d7
Adds end to end test for building a generated project
5 years ago
Ashley Williams
fcbd824886
fix(deps): update deprecated code for std::sync::Once
5 years ago
Martin Kavík
a39a278220
fix(command_test): stamps.rs check driver once per day, update RELEASE_CHECKLIST
6 years ago
Pauan
d04ee6c04c
Adding in unit tests for --quiet and --log-level
6 years ago
Ashley Williams
f53c6f5aa0
feat(build): --no-pack flag
6 years ago
Ashley Williams
a93f2713d8
fix(style): appease cargo fmt
6 years ago
rhysd
5a58e8e683
Fix sideEffects value in generated package.json should be empty
6 years ago
Ashley Williams
032c9f4cbd
feat(bindgen): check wasm-bindgen cli version when running target web
6 years ago
Ashley Williams
c65e1ecc3d
test(bindgen): remember how versions in cargo.toml work
6 years ago
Ashley Williams
fdde7291ca
test(bindgen): add test.. which passes but shouldn't
6 years ago
Nick Fitzgerald
aa22396c7e
test: Ensure that `wasm-bindgen` will generate move assertions
...
`wasm-bindgen` regressed and only generates move assertions for free functions,
not methods. While `wasm-bindgen` is fixing that regression, we are changing
this test fixture to be of the shape that will still generate move assertions.
Fixes #677 .
6 years ago