Ashley Williams
af03d1d3e2
fix(bindgen): remove unused import
6 years ago
Ashley Williams
c65e1ecc3d
test(bindgen): remember how versions in cargo.toml work
6 years ago
Ashley Williams
b72048b8c7
feat(bindgen): check that wasm-bindgen versions match, with dummy data
6 years ago
Ashley Williams
a3541196c7
feat(bidngen): we don't need to read stdout to know it will fail
6 years ago
Ashley Williams
fdde7291ca
test(bindgen): add test.. which passes but shouldn't
6 years ago
Ashley Williams
5b043251b5
Merge branch '627-bindgen-version-error' of https://github.com/gameldar/wasm-pack into gameldar-627-bindgen-version-error
6 years ago
ashley williams
1be5e91ce3
Merge pull request #678 from rustwasm/ibaryshnikov-master
...
#640 minus changelog
6 years ago
ashley williams
127c72a427
Merge pull request #624 from gameldar/master
...
Recurse up the path looking for the Cargo.toml
6 years ago
ibaryshnikov
788fca0f67
updated help message, replaced 'browser' with 'bundler'
6 years ago
ashley williams
398c8c7866
Merge pull request #670 from ThomasdenH/master
...
Update cargo_metadata to 0.8.0
6 years ago
ashley williams
4ad207c61f
Merge pull request #673 from jb2martel/master
...
Update README.md: fix broken url, update "generate"command name to "new"
6 years ago
jb2martel
7a948c234f
Update README.md
...
Fix broken url , update generate command name to "new"
6 years ago
Thomas
cd91478a52
Update cargo_metadata to 0.8.0
6 years ago
ashley williams
f4779bef45
Merge pull request #664 from data-pup/update-pr-template
...
update rustfmt install snippet in pull request template
6 years ago
data-pup
cca6960292
update rustfmt install snippet in pull request template
6 years ago
ashley williams
a267075be8
Merge pull request #623 from rustwasm/generate
...
generate
6 years ago
ashley williams
95a4e30d09
Merge pull request #658 from drager/add-user-agent
...
fix: Add user agent for wasm-pack version check
6 years ago
Nick Fitzgerald
30a95a42f1
Merge pull request #662 from perlun/patch-1
...
README.md: fix typo
6 years ago
Per Lundberg
4d87d1fbe5
README.md: fix typo
6 years ago
Nick Fitzgerald
30300183fd
Merge pull request #656 from fitzgen/readme-header
...
Add the standard WG header to the README
6 years ago
Jesper Håkansson
bd3dec1c59
fix: Add user agent for wasm-pack version check
6 years ago
Nick Fitzgerald
0ebef20175
Add the standard WG header to the README
6 years ago
Ashley Williams
8407a1dc18
fix(lint): ignore redundant closures
6 years ago
Ashley Williams
b96538ec23
fix(lint): re-enable clippy, fix lints
6 years ago
Ashley Williams
d6baf439b7
feat(command): add generate command
6 years ago
Kirk Turner
e880a33408
Recurse up the path looking for the Cargo.toml
...
* Renamed set_crate_path to get_crate_path
* If the path isn't specified in the call then use the current_dir and walk up the path try to find the manifest file.
* Specify the cwd for the build test so it doesn't walk up the path. The test needs to specify the path to build, otherwise because fixtures are run in a subdirectory of the source tree it will find the Cargo.toml from the wasm-pack source repository.
6 years ago
Kirk Turner
64f835c0f2
Get the wasm-bindgen version and display it in the error message
6 years ago
ashley williams
4976003e07
Merge pull request #635 from drager/fix-link
...
doc(readme): Remove obsolete link
6 years ago
Jesper Håkansson
510719812c
doc(readme): Remove obsolete link
6 years ago
Kirk Turner
97fdc94d53
#627 - create a custom error message when wasm-bindgen fails because --web isn't available
...
Change the return type of the child run commands so it can return a CommandError that also captures the stderr if the process fails.
See if the returned output contains the 'Unknown flag: --web' error message and if so provide an alternative error that suggests upgrading
6 years ago
ashley williams
c2517ce205
Merge pull request #630 from alexcrichton/filter-tests
...
Only run specific tests during `wasm-pack test`
6 years ago
Alex Crichton
82ffe7b879
Only run specific tests during `wasm-pack test`
...
This builds on rustwasm/wasm-bindgen#1465 by ensuring that `wasm-pack
test --node` will now only test node.js tests
6 years ago
Jesper Håkansson
7dd889b4be
Merge pull request #626 from rustwasm/release
...
doc(release): add release checklist
6 years ago
Jesper Håkansson
b0ec2ade83
Update RELEASE_CHECKLIST.md
...
Co-Authored-By: ashleygwilliams <ashley666ashley@gmail.com>
6 years ago
Ashley Williams
55c9f5ceee
doc(release): add release checklist
6 years ago
ashley williams
fc87511c93
Merge pull request #628 from drager/refactor-version-check
...
refactor: Use PBAR.warn and a struct for versions
6 years ago
Jesper Håkansson
e6733d420d
refactor: Use PBAR.warn and a struct for versions
...
As mentioned in #409 , some comments mentioned to use `?`
over calling `.unwrap()` and to use a struct
instead of two Strings. This PR leverages `?` and a new struct called
`WasmPackVersion` with a `local` and `latest` field. This PR also
uses `PBAR.warn(warning_msg)` instead of `println!(warning_msg)`
to print the warning message.
6 years ago
Jesper Håkansson
c616f6b8a1
doc: Fix links
6 years ago
Jesper Håkansson
ae89be40d8
Merge pull request #409 from daubaris/master
...
added wasm-pack feature which compares local and latest wasm-pack versions
6 years ago
ashley williams
9423867595
Merge pull request #619 from drager/release-0.8.1
...
0.8.1
6 years ago
Jesper Håkansson
b9eb7bcf2e
0.8.1
6 years ago
ashley williams
ee1b7e927c
Merge pull request #616 from drager/wasm32-target-fix
...
fix: Check for "rustup" rather than ".rustup" when checking for wasm32
6 years ago
Jesper Håkansson
6a0f2fb247
fix: Print other message if we could not find the target
6 years ago
Jesper Håkansson
8bba404e59
fix: Check for "rustup" rather than ".rustup" when checking for wasm32
...
When checking for wasm32 target we did check if the sysroot
contained ".rustup". While this covered the most common cases it didn't
work when using Docker. So checking for "rustup" instead covers both
cases.
6 years ago
ashley williams
7cb3e878a0
Merge pull request #615 from rustwasm/really-0.8.0
...
v0.8.0
6 years ago
Ashley Williams
33d0bd8706
v0.8.0
6 years ago
ashley williams
7325420287
Merge pull request #604 from rustwasm/0.8.0
...
0.8.0
6 years ago
Ashley Williams
a002127f7c
0.8.0
6 years ago
ashley williams
561178055e
Merge pull request #614 from drager/fix-broken-links
...
doc: Fix broken links
6 years ago
Jesper Håkansson
eda096e153
doc: Fix broken links
6 years ago