huangjj27
c6894c46f7
bugfix(390): pass the ci
...
in the CI, there is no user. begining with "C:\" is just enough
7 years ago
huangjj27
9feb3a857c
check if the log missing things
7 years ago
huangjj27
06a949b9ed
Capital disk Url
7 years ago
huangjj27
837393b5fc
trim head
7 years ago
huangjj27
7fd731279b
print out wasm-log for check
7 years ago
huangjj27
06e38ec3e8
checkout if CI's log contain INFO messages
7 years ago
huangjj27
83de8d71d2
fix test for wasm-bindgen 0.2.21
7 years ago
huangjj27
2512199cb3
resolve conlicts and pass the test
7 years ago
huangjj27
6d3f1c2835
remove canonicalize and use display directly
7 years ago
huangjj27
b301015588
update: rebasing to master
...
fixes conflicts encountered when rebasing to master
fixes # 390
7 years ago
huangjj27
cf56fa10d6
bugfix(command/build): passing test case
...
this commit fixes #390 , #414 , and closes #408 for the test case
have to pass after a successful build.
7 years ago
huangjj27
054e1739ae
test(command/build): right test case
...
the test case would pass after solving #408
7 years ago
huangjj27
472890c063
test(command/build): add test for fix-390
7 years ago
huangjj27
6edb3732aa
update(command/build): lazily eval if canonicalizing failed
7 years ago
huangjj27
6c54d293f5
fmt(command/build.rs): format code changes
7 years ago
huangjj27
d6aea784af
Update src/command/build.rs
...
use Path::display to show out_dir
7 years ago
Junjie Huang
c98287ff16
bugfix(command/build.rs): Cancel Escape
...
fix #390
7 years ago
Jesper Håkansson
7f38ccf533
Merge branch 'master' into refactor-binary-installation
7 years ago
Jesper Håkansson
07d813f606
fix: Print the possible misspelled key so the user doesnt have to guess
7 years ago
Jesper Håkansson
8dd6fe4453
chore: Restore unwanted reordering
7 years ago
Jesper Håkansson
c39410c81e
feat: Use levenshtein function to warn about wasm-pack typos
7 years ago
Jesper Håkansson
203cf6996c
test: Add test case for `parse_crate_data`
7 years ago
Jesper Håkansson
6894e63110
chore: Fix typo
7 years ago
Jesper Håkansson
2ed3d01541
refactor: Move parsing and warning code into two new functions
7 years ago
Jesper Håkansson
59039e4118
feat: Catch types in Cargo.toml and warn about them
7 years ago
Nick Fitzgerald
51e6351c28
Merge pull request #440 from fitzgen/build-profiles-toml-config
...
Add three build profiles and infrastructure for their toml config
7 years ago
Nick Fitzgerald
64d52d8735
Add three build profiles and infrastructure for their toml configuration
...
Fixes #153
Fixes #160
7 years ago
Alex Crichton
91e3293529
Merge pull request #389 from xmclark/fix-canonical-paths-on-windows
...
fix canonical paths windows
7 years ago
Mackenzie Clark
b3d62e1649
do not canonicalize the crate path
7 years ago
Nick Fitzgerald
b107874817
Merge pull request #442 from alexcrichton/cdylib
...
Don't require cdylib crate-type for testing
7 years ago
Jesper Håkansson
99b9602d31
chore: Run latest rustfmt
7 years ago
Jesper Håkansson
b47dfa3009
chore: Run latest rustfmt
7 years ago
Alex Crichton
fe48dbd15a
Don't require cdylib crate-type for testing
...
The `cdylib` crate type output isn't actually necessary for the
`wasm-pack test` stage because `wasm-bindgen` isn't run over a wasm
file. This commit removes the checks during `wasm-pack test` that the
`cdylib` crate type is configured.
7 years ago
Jesper Håkansson
a558ea5e50
Merge branch 'master' into refactor-binary-installation
7 years ago
Nick Fitzgerald
9e1e9b0cb3
Merge pull request #439 from fitzgen/rename-debug-to-dev
...
Rename `--debug` to `--dev` to match `cargo`
7 years ago
Jesper Håkansson
489d3e84c2
refactor: Rename binary-install to wasm-pack-binary-install
7 years ago
Jesper Håkansson
50e472de05
chore: Remove unused crates and error variants
7 years ago
Alex Crichton
401f114991
Merge pull request #436 from alexcrichton/error
...
Replace internal `Error` with `failure::Error`
7 years ago
Alex Crichton
11beac3736
Replace internal `Error` with `failure::Error`
...
This commit removes the internal `Error` type in favor of exclusively
using the `failure::Error` type, simplifying error construction in a
number of locations and reducing the number of error types in play.
7 years ago
Jesper Håkansson
714a8a1581
refactor: Remove unneeded code, since master has changed a lot
...
The modules and tests are no longer relevant since master has changed
a lot since the code was split into smalled modules.
7 years ago
Jesper Håkansson
b15f062906
Merge branch 'master' into refactor-binary-installation
7 years ago
Nick Fitzgerald
3575a0a5fc
Rename `--debug` to `--dev` to match `cargo`
...
See #437
7 years ago
Alex Crichton
7796ecb311
Merge pull request #435 from alexcrichton/handle-rename
...
Fix wasm-bindgen if lib is renamed via `lib.name`
7 years ago
Alex Crichton
35fe250d09
Fix wasm-bindgen if lib is renamed via `lib.name`
...
This commit fixes an issue where if a library is renamed via the `name`
key in the `[lib]` section of the manifest then `wasm-pack` would try to
generate bindings for an noexistent wasm-file, generating an error.
The fix was to internally use `cargo_metadata` more aggressively and
move around where this data is generated. This ended up refactoring a
few locations, but this should also bring improved error messages for
`cargo metadata` as well as caching the resulting data more aggressively
to avoid recalculating it too much.
Closes #339
7 years ago
Alex Crichton
e8b3075dae
Merge pull request #430 from fitzgen/build-crate-in-a-workspace
...
Build crate in a workspace
7 years ago
Nick Fitzgerald
8abedfebbe
Run `cargo fmt`
7 years ago
Nick Fitzgerald
e7145e585f
Add a test for building a wasm crate in a workspace
...
Fixes #252
7 years ago
Nick Fitzgerald
0bb4fc4352
Merge pull request #433 from fitzgen/update-mdbook
...
deps: Update mdbook version we use to build the book
7 years ago
Nick Fitzgerald
400cfba7c1
Merge pull request #431 from fitzgen/stop-reading-cargo-toml-many-times
...
Stop reading cargo toml many times
7 years ago
Nick Fitzgerald
91e3de352b
Merge pull request #432 from fitzgen/name-field-for-ci-jobs
...
CI: Use `name` field for Travis CI jobs
7 years ago