Andrea Ciliberti
9b483a8589
Rebased changes
2 years ago
Andrea Ciliberti
eaa93126f4
Merge different commands under a common infrastructure
2 years ago
Andrea Ciliberti
b899ff9d7e
Remove useless RUSTFLAGS changes
2 years ago
Andrea Ciliberti
9b6b79dff2
Callback refactor and cargo-new
2 years ago
Ian Chamberlain
78a652fdfb
Merge pull request #32 from rust3ds/feature/doctests
2 years ago
Ian Chamberlain
6f4b74355a
Merge branch 'master' into feature/doctests
2 years ago
Ian Chamberlain
3e7665fb63
Slightly improve doctest output
...
Warn user that no 3dsx will be built in this case, and use "human"
formatting so that we get colored rustc output (since we don't need to
parse the JSON output in this case anyway).
2 years ago
Meziu
804f63d0bc
Merge pull request #35 from rust3ds/fix/licensing
...
Fix/licensing
2 years ago
Meziu
a1ca4f649a
Update README.md
2 years ago
Andrea Ciliberti
318320200b
Add license files
2 years ago
Andrea Ciliberti
657eeccd1e
Fix licensing
2 years ago
Ian Chamberlain
5a06e64307
Add default CODEOWNERS to auto-add reviews
2 years ago
Ian Chamberlain
e8535a130d
Add limited support for `cargo 3ds test --doc`
2 years ago
Meziu
83032c6a71
Merge pull request #26 from ian-h-chamberlain/feature/clap4-upgrade-extra-args
...
Upgrade to clap4, add extra args and help strings
2 years ago
Ian Chamberlain
329cb00d74
Documentation improvements and extra test case
2 years ago
Ian Chamberlain
dd8ae47296
Plumb through 3dslink args for run + test commands
2 years ago
Ian Chamberlain
dbf1595def
Add plumbing for new commands to running cargo
2 years ago
Ian Chamberlain
583fc67fc6
Update docstrings and arg parsing
...
Also add the most basic `debug_assert` test.
2 years ago
Ian Chamberlain
c2560622e8
Fix some build errors for testing
2 years ago
Ian Chamberlain
cef69644e6
Upgrade to clap4, add extra args and help strings
2 years ago
Meziu
7b70b6b26c
Merge pull request #24 from rust3ds/fix/clippy-build-std
...
Move build-std argument after the subcommand to fix clippy
2 years ago
Mark Drobnak
cb3a9a19ff
Set build-std flag before trailing arguments
2 years ago
Mark Drobnak
7e99e1a9a5
Move build-std argument after the subcommand to fix clippy
...
This fixes `cargo +nightly 3ds clippy`. See this thread:
https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/-Zbuild-std.20and.20clippy.3F/near/290622458
2 years ago
Mark Drobnak
7723d93227
Merge pull request #21 from SteveCookTU/clap3-rewrite
...
Cleanup and Rewrite using Clap crate
2 years ago
Steve Cook
c7b6482f9c
Remove Display trait
...
Inline match command to subcommand for make_cargo_build_command
2 years ago
Steve Cook
84ac10371b
Cargo fmt
2 years ago
Steve Cook
1a562d0c1a
Build and not run under the hood when calling `cargo 3ds run`
...
Cargo fmt
2 years ago
Steve Cook
eb1d4345b7
Fix logic for when to link
2 years ago
Steve Cook
8d350a8c6b
Only link for `run` and `test` subcommands.
2 years ago
Steve Cook
9aa632622c
Remove fully qualified derive
2 years ago
Steve Cook
4c5929715c
Move command struct and parser to command.rs
2 years ago
Steve Cook
ef6a2f6724
Revert println! to eprintln!
2 years ago
Steve Cook
8eac835c4c
Add comments
2 years ago
Steve Cook
06bdf9f289
Move should_link and message_format to separate functions
2 years ago
Steve Cook
239556abf8
Revert to original cargo usage
...
Re-add TeeReader comment
Remove debugging line
2 years ago
Steve Cook
51917f8fcf
Add AllowLeadingHyphen
2 years ago
Steve Cook
f05b57f5ac
Use ValueEnum over deprecated ArgEnum
2 years ago
Steve Cook
11855472df
Fix another indexing issue
2 years ago
Steve Cook
3cb1169dcb
Fix message format parsing
2 years ago
Steve Cook
cc03d78ba5
Initial use of clap
2 years ago
Meziu
9136456653
Update README.md
...
Way more understandable usage section
2 years ago
Meziu
7c8d450a4a
Merge pull request #20 from mateocabanal/add-verbose-error-mesg
...
More verbose error responses
3 years ago
Mateo Cabanal
880661157c
added error messages, replacing unwrap()'s with expect()'s
3 years ago
Andrea Ciliberti
4cd3055780
Bump minimum rustc toolchain
3 years ago
Meziu
5420057493
Merge pull request #19 from Meziu/feature/use-prebuilt-std
...
Use the pre-built std if available in sysroot
3 years ago
Mark Drobnak
40afa13ba0
Use the pre-built std if available in sysroot
3 years ago
Meziu
3b187bcf2d
Merge pull request #15 from ian-h-chamberlain/feature/allow-message-format
...
Allow passthrough when `--message-format` is specified
3 years ago
Ian Chamberlain
1ebde461d0
Update to 2021 edition
3 years ago
Meziu
5eac661e22
Merge pull request #17 from Meziu/fix/optional-authors
...
Use optional env var rather than cargo_metadata
3 years ago
Andrea Ciliberti
402e7af28a
Use parser crate rather than env var
3 years ago