summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2020-02-20refactor: exercise evaluationRoberto Vidal
Exercise evaluation (compilation + execution) now uses Results Success/failure messages are standardized
2019-12-26feat: Show a completion message when watchingKate Hart
The completion message is shown only once all exercises succeed and are not annotated with "I AM NOT DONE." The watch command will also exit closes #251
2019-11-18feat(watch): show hint while watchingvyaslav
2019-11-11feat(cli): check for rustc before doing anythingRoberto Vidal
Addresses #190.
2019-11-11Address feedbackmarisa
2019-11-11Merge branch 'master' into refactor-hintsmarisa
2019-11-11feat(hint): Add test for hintmarisa
2019-11-11feat: Refactor hint systemmarisa
Hints are now accessible using the CLI subcommand `rustlings hint <exercise name`. BREAKING CHANGE: This fundamentally changes the way people interact with exercises.
2019-11-11feat: improve `watch` execution modeRoberto Vidal
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
2019-11-11feat: Index exercises by namemarisa
BREAKING CHANGE: This changes the way you use `rustlings run` by now requiring an abridged form of the previous filename, e.g: `rustlings run exercises/if/if1.rs` becomes `rustlings run if1`
2019-11-09improvement(watch): clear screen before each `verify()`WofWca
Closes #146
2019-11-09watch: clears terminal before entering loopJubilee Young
If someone is sliding in and out of "watch" mode, it can make it hard to tell which error messages are still relevant. This patch resolves that by clearing the terminal entirely before entering watch's loop.
2019-07-11Check if changed exercise file exists before calling verify.Fredrik Jambrén
2019-06-10chore: Remove missed highlighting char from Issue #133Dan Wilhelm
2019-06-05Remove highlighting and syntectliv
2019-04-22add a slightly more helpful error messageliv
2019-04-12Remove unwrap on canonicalize resultChris Pearce
2019-04-12Extract exercise struct to encapsulate path logicChris Pearce
2019-04-07Fix test failing due to panicChris Pearce
2019-03-27fix watch command path executionliv
2019-03-17Be nicer when rustlings isn't run from the right directory.Kyle Isom
Before, rustlings would panic if it wasn't in the right directory. It took me a minute to figure out why, and this wasn't my first intro to Rust. It would probably help new users if they saw a helpful message instead of a stack trace.
2019-03-15Remove unnessecary whitespaceAndrew Bagshaw
2019-03-15Change to \nAndrew Bagshaw
2019-03-13Add clear break between verify executionsAndrew Bagshaw
2019-03-13Start verification at most recently modified fileAndrew Bagshaw
2019-03-11clippy-ifylyn
2019-03-06standardize exercise running via an external toml filelyn
2019-03-06Fix file watching for vim swap filesShaun Bennett
2019-01-23add more detailed command helpliv
2019-01-09add --test run flagliv
2019-01-09make the default output a bit nicerliv
2019-01-09rustfmtliv
2019-01-09split codebaseliv
2019-01-09ah well it was worth a tryliv
2019-01-09revertliv
2019-01-09update for rust 2018liv
2018-11-26Add watch mode, and don't panic on clean failureErik Vesteraas
2018-11-26switch theme to base16 eightiesolivia
2018-11-26Merge pull request #98 from evestera/rustc-color-alwaysolivia hugger
Propagate colored output from rustc
2018-11-26add markdown output for default commandolivia
2018-11-26Add color=always to rustc optionsErik Vesteraas
2018-11-23implement run commandolivia
2018-11-14fmtolivia
2018-11-14add empty line after asciiolivia
2018-11-14add a fancy ascii headerolivia
2018-11-14color output messagesolivia
2018-11-09add the whole curriculumolivia
2018-11-09right let's try this one againolivia
2018-05-22put it in a separate fileolivia
2018-05-22replace macros with more general methodsolivia