ashley williams
3f1c2248e5
Merge pull request #569 from alexcrichton/prereqs
...
Update prerequisites documentation
6 years ago
Alex Crichton
e944298e2a
Update prerequisites documentation
...
A few assorted improvements to the prerequisites documentation:
* Rust nightly/beta requirements are removed
* Wording indicating that `wasm-pack` requires `npm` has been clarified
* The dedicated Rust page was removed as it's largely just "install
Rust" nowadays
* The heading of the NPM page in the sidebar now includes `(optional)`
to clarify that it's not required.
6 years ago
Jesper Håkansson
4b9fd878dc
refactor: Use path.exists() instead of using `ls` and `grep`, stop
...
unwraping
6 years ago
Jesper Håkansson
740b8b896e
Merge branch 'master' into non-rustup-env
6 years ago
Jesper Håkansson
4803a201c8
feat: Check for wasm32-unknown-unknown in sysroot
...
First check if wasm32-unknown-unknown is present in rustc's
sysroot and if it is, then we're fine. Otherwise check if we're using
rustup and add the wasm32 target and if we're not using rustup, then
bail with an error stating that the wasm32 target couldn't be found.
6 years ago
ashley williams
4a84b499d1
Merge pull request #567 from alexcrichton/web-target
...
Add support for `--target web`
6 years ago
Alex Crichton
8127b5b42d
Add support for `--target web`
...
This commit adds support for the new `--web` flag in `wasm-bindgen`
under the flag name `--target web`. To ensure that it was plubmed around
the stringly-typed `target` type was switched to an `enum Target` to
ensure that all cases it's looked at are handled appropriately for the
new `web` target.
6 years ago
ashley williams
b6a8de1477
Merge pull request #565 from alexcrichton/nightly-docs
...
Flag gh-pages docs as unpublished
6 years ago
ashley williams
2967f8b36b
Merge pull request #566 from alexcrichton/fix-tests
...
Fix tests on master
6 years ago
Alex Crichton
e20ade53bc
Fix tests on master
...
This fixes an accidental regression from #554 which was in turn an
accidental regression from #526
6 years ago
Alex Crichton
a59cf6ad5f
Flag gh-pages docs as unpublished
...
This commit adds a header dialog to the gh-pages mdbook documentation of
this repository to indicate that it represents unpublished documentation
that may not reflect the currently published version of `wasm-pack`. The
header redirects users to https://rustwasm.github.io/docs/wasm-pack/
which has the documentation for the latest published version of
`wasm-pack`.
6 years ago
ashley williams
0c452156d1
Merge pull request #517 from drager/binary-install-tests
...
test(binaryinstall): Add initial tests
6 years ago
ashley williams
70dba37c31
Merge pull request #550 from rustwasm/install-1
...
fix(exe): wasm-pack-init (1).exe should work
6 years ago
ashley williams
0f331e0192
Merge pull request #556 from rustwasm/revert-528
...
fix(manifest): LICENSE and README don't need to be whitelisted
6 years ago
Ashley Williams
cde16f1b22
fix(manifest): LICENSE and README don't need to be whitelisted
6 years ago
ashley williams
da00ccd333
Merge pull request #555 from fitzgen/contraction-not-acronym
...
"Wasm" is a contraction, not an acronym
6 years ago
Nick Fitzgerald
d9359070ae
"Wasm" is a contraction, not an acronym
...
And therefore should not be all caps.
https://webassembly.github.io/spec/core/intro/introduction.html#wasm
v important
6 years ago
ashley williams
d09822b7be
Merge pull request #554 from rustwasm/huangjj27-update-bindgen-version
...
Huangjj27 update bindgen version
6 years ago
huangjj27
0a9f488a0d
fix(test): update wasm-bindgen versions to improving caching in tests
6 years ago
Jesper Håkansson
ae836f3f19
refactor(test): Let OS assign a port and pass it through the channel
6 years ago
Jesper Håkansson
e81ca18407
refactor(test): Use sync channel over sleeping to be less racy
6 years ago
Jesper Håkansson
0add5e7b9f
Merge branch 'master' into non-rustup-env
6 years ago
Ashley Williams
f26ccc0f3a
fix(exe): wasm-pack-init (1).exe should work
6 years ago
ashley williams
173a05bd82
Merge pull request #502 from drager/run-clippy-at-travis
...
chore(travis): Run clippy check
6 years ago
ashley williams
53d075463c
Merge pull request #478 from mstallmo/clippy-refactor
...
Refactor: fix clippy warnings
6 years ago
ashley williams
9528947c59
Merge pull request #542 from surma-dump/wee-alloc
...
[Docs] Add wee_alloc section
6 years ago
Jesper Håkansson
74739e5a10
chore: Stop cding into binary_install and use --all instead
...
test: Put tests that access private functions in tests module
6 years ago
Jesper Håkansson
3fc5df8b7a
Merge branch 'master' into binary-install-tests
6 years ago
Surma
6c7b184cca
Add wee_alloc section
6 years ago
ashley williams
a7e45d0755
Merge pull request #539 from killercup/docs/clarify-subcommand-description
...
Clarify what kind of account `login` adds
6 years ago
ashley williams
73ed2b83f7
Update mod.rs
6 years ago
Pascal Hertleif
bec91efbea
Clarify what kind of account `login` adds
6 years ago
ashley williams
02ce28612d
Merge pull request #537 from jscheffner/chromedriver-binaries-unavailable
...
Use win32 chromedriver binary on win64, update chromedriver version and fix error message
6 years ago
Jonas Scheffner
d80406173b
Update chromedriver to v0.46 and geckodriver to v0.24.0
6 years ago
Jonas Scheffner
cd8ee977d5
Use win32 chromedriver binaries for win64 systems, update chromedriver version to 2.45 and fix error message
6 years ago
ashley williams
dc97112908
Merge pull request #534 from rustwasm/fitzgen-use-assert-cmd-everywhere
...
rebase + cargo fmt Fitzgen use assert cmd everywhere
6 years ago
Ashley Williams
b0f47b960e
fix(style): appease cargo fmt
6 years ago
Nick Fitzgerald
5637b07577
tests: Port all of our tests to use `assert_cmd`
6 years ago
ashley williams
741bb0107e
Merge pull request #532 from chinedufn/test-docs
...
Add examples of running individual tests to the testing docs
6 years ago
Chinedu Francis Nwafili
5757744ffa
Clean up subset of test docs
6 years ago
ashley williams
a4d396bbc7
Merge pull request #528 from rhysd/package-json-files-field
...
Add license files and README file to 'files' field of package.json
6 years ago
Chinedu Francis Nwafili
f54de0a067
Improve test docs
6 years ago
rhysd
14c27f8aed
Merge branch 'master' into package-json-files-field
6 years ago
Nick Fitzgerald
4c4272c002
Merge pull request #530 from chinedufn/pass-through
...
Pass arguments through to cargo test
6 years ago
ashley williams
37606c23f1
Merge pull request #531 from rhysd/homepage
...
Support 'homepage' field of Cargo.toml and package.json
6 years ago
ashley williams
f829bae090
Merge pull request #527 from rhysd/support-license-file-field
...
Support license-file field in Cargo.toml
6 years ago
csmoe
1e4ae144fd
Apply suggestions from code review
...
Thanks!
Co-Authored-By: chinedufn <frankie.nwafili@gmail.com>
6 years ago
rhysd
835ce11023
add test case for copying 'homepage' field from Cargo.toml to package.json
6 years ago
rhysd
bae98ef92a
copy 'homepage' field from Cargo.toml to package.json
...
- Cargo.toml
- https://doc.rust-lang.org/cargo/reference/manifest.html
- package.json
- https://docs.npmjs.com/files/package.json#homepage
6 years ago
Chinedu Francis Nwafili
3f06d2d959
Fix formatting
6 years ago