232 Commits (87b4c5c7b1655f8032a7cb5de7a0426d1895b850)

Author SHA1 Message Date
Nick Fitzgerald 64d52d8735 Add three build profiles and infrastructure for their toml configuration 7 years ago
Mackenzie Clark b3d62e1649 do not canonicalize the crate path 7 years ago
Alex Crichton fe48dbd15a Don't require cdylib crate-type for testing 7 years ago
Alex Crichton 11beac3736 Replace internal `Error` with `failure::Error` 7 years ago
Nick Fitzgerald 3575a0a5fc Rename `--debug` to `--dev` to match `cargo` 7 years ago
Alex Crichton 35fe250d09 Fix wasm-bindgen if lib is renamed via `lib.name` 7 years ago
Nick Fitzgerald 6d3e9dfebb Refactor: make `check_crate_config` a method of `CargoManifest` 7 years ago
Nick Fitzgerald 25490301e0 Refactor: make `get_crate_name` a method of `CargoManifest` 7 years ago
Nick Fitzgerald 0e09b3fd3c Refactor: make `write_package_json` a method on `CargoManifest` 7 years ago
Nick Fitzgerald 511e6c29a0 Refactor: replace `manifest::read_cargo_toml` with a constructor 7 years ago
Nick Fitzgerald 4e6abcfd1d Only read the `Cargo.toml` manifest once 7 years ago
Alex Crichton f986edf4c7 Move test synchronization to tests, not in `wasm-pack` 7 years ago
Alex Crichton c664cfddd1 Use a global cache for all downloaded binaries 7 years ago
Nick Fitzgerald 1bbc966240 Don't print stdout/stderr in error messages because we already pipe that to console when running the child process 7 years ago
Nick Fitzgerald b16660375e Add "Error:" prefix to error messages 7 years ago
Nick Fitzgerald 352b47d732 Provide better error context for `cargo build` 7 years ago
Nick Fitzgerald 182c3931c3 Run cargo fmt 7 years ago
Nick Fitzgerald 965ae35933 Add no-modules to --target flag's help text 7 years ago
huangjj27 c713477ac8 change for cargo_metadata 7 years ago
huangjj27 ee9116d2e0 bugfix(bindgen-target-dir): use PathBuf to join 7 years ago
Jesper Håkansson 9404c1496d chore: Run rustfmt 7 years ago
Jesper Håkansson b7a84200a6 chore: Run rustfmt 7 years ago
Jesper Håkansson 0be4905e31 refactor: Return failure::Error instead of wasm_pack::error::Error 7 years ago
Jesper Håkansson 899f5e0ffc refactor: Import self and use full module path for failure 7 years ago
Jesper Håkansson e9e0fb3cba refactor: Return failure::Error instead of wasm_pack::error::Error 7 years ago
Nick Fitzgerald e9276e0aab error: Add stdout to the `Error::Cli` variant 7 years ago
Nick Fitzgerald 1621d18072 child: Always print everything to our output 7 years ago
Mason Stallmo 78117ef4a1 Fix bad formating 7 years ago
Mason Stallmo b82fa7db65 Combine filed missing messages into one INFO line 7 years ago
Mason Stallmo e47af81f8f Change to INFO when alerting users about missing fields in Cargo.toml 7 years ago
Nick Fitzgerald 2fa961d97d Use `child::run` for spawning child processes everywhere 7 years ago
Nick Fitzgerald 6e8e8a6cb2 Create a module for running child processes 7 years ago
konstin 514e5c6032 Add exit_status to cli error to fix #291 7 years ago
Alex Crichton 17b385060f Remove lingering forced nightly usages 7 years ago
Nick Fitzgerald e1c8ca825d cargo fmt 7 years ago
Nick Fitzgerald 15defe9038 test: fix crate dependency suggestion 7 years ago
Ashley Williams d3f8264ef7 feat(buildmode): allow --mode force to skip rustc check 7 years ago
Ashley Williams 0c696e2289 fix(build): make rustc error msg a little better 7 years ago
Ashley Williams edd7308221 fix(build): rustc check works now 7 years ago
Ashley Williams 631037197f fix(build): rustc check emoji and fix 7 years ago
Ashley Williams 9d35377cd3 fix(build): fix and improve rustc check err msgs 7 years ago
Ashley Williams c0acb99e58 feat(build): remove all mention of nightly 7 years ago
Ashley Williams b28d2850a7 feat(build): add rustc check 7 years ago
Ashley Williams 3856db20b9 fix(style): appease cargo fmt 7 years ago
Alex Crichton 9b24dcb259 Execute `cargo metadata` at most once 7 years ago
Alex Crichton 3d1f528fc9 Make tests more future-proof with wasm-bindgen 7 years ago
data-pup dd87211323 feat(lockfiles): Use `Cargo.lock` to identify wasm-bindgen versions 7 years ago
Alex Crichton cd4e381ef4 Pass `--debug` to `wasm-bindgen` in debug mode 7 years ago
Ashley Williams 0fa456c62b feat(build): force lib build only 7 years ago
Ashley Williams 120236f1a9 fix(style): appease cargo fmt 7 years ago