csmoe
ddab496f51
cmd(init/build): rebase
7 years ago
csmoe
0a616624aa
cmd(init/build): cargo clippy
7 years ago
csmoe
edbd6f4118
cmd(init/build): cargo fmt
7 years ago
csmoe
7cbfc2e893
cmd(init/build): split init and build
7 years ago
Mackiovello
37fb0bc07e
Consistently use pretty-print
7 years ago
Mackiovello
017d241b86
Remove extra quotation mark
7 years ago
Mackiovello
1067f215be
Use PathBuf instead of String to handle paths
...
For #213
7 years ago
Mackiovello
88fdbc5d39
Add documentation for pack and publish
7 years ago
Nick Fitzgerald
805b796cf9
Deny missing documentation
...
And add all the missing doc comments.
7 years ago
Ashley Williams
4d5c7b8b3a
fix(style): appease cargo fmt
7 years ago
Ashley Williams
5004517bf0
fix(files): set files correctly for node and cleanup tests
7 years ago
Mackiovello
e6cd7bb355
Simplify iteration even more
7 years ago
Mackiovello
ac34e7bba1
Write as more ideomatic rust
7 years ago
Mackiovello
63c91caeae
Check child directories instead of parent directory
7 years ago
Mackiovello
a67762a9e5
Use 'find_pkg_directory' for pack
7 years ago
Mackiovello
b57d68f97a
Search for path in entered directory and the parent of entered
...
This lets us have backwards compatibility while improving the user experience.
7 years ago
Mackiovello
8efabfa3af
Make error more specific
7 years ago
Mackiovello
ec17b8aa7e
Use custom error message for publish
7 years ago
Mackiovello
035bcbe688
Simplify match expression
7 years ago
Mackiovello
840c7bd03c
Return custom error if pkg directory is not found
7 years ago
soryrawyer
072bbc67da
Remove result prefix and std import, now that quicli is no longer a dependency
7 years ago
Ashley Williams
78527b7a7e
fix(style): appease cargo fmt
7 years ago
Michael Gattozzi
f2fbe264d4
fix(no-install): cratename should not be an option
7 years ago
Michael Gerhaeuser
62423e33d4
Replace std::sync::RwLock with parking_lot
...
The standard library version of an `RwLock` may get poisoned if a thread
panics that holds a write lock. The `RwLock` from parking_lot [1] does
not get poisoned it instead released the lock on a panic. This allows us
to simplify the `ProgressOutput` API since it no longer returns any
errors. No more panics can occur on `ProgressOutput::drop()`. The
`Error` enum can thus be simplified as well because there is no need to
convert `PoisonErrors` anymore.
[1] https://github.com/Amanieu/parking_lot
7 years ago
Ashley Williams
44f26dfcb2
feat(init): no install flag
7 years ago
Ashley Williams
ca0f469356
refactor(command): modularize command.rs
7 years ago