Giter Club home page Giter Club logo

exercism-rust-analyzer's Introduction

rust-analyzer

Not to be confused with the rust-analyzer of the Rust project!

rust-analyzer is a static analysis utility that is used for the automatic mentoring of exercise solutions of Exercism's Rust track. Please find general documentation about Exercism's language analyzers here.

Supported exercises

Usage

The utility can be used on the local machine. It accepts two required parameters:

  • --path (-p) - path to the solution directory.
  • --slug (-s) - the slug of the exercise that is being analyzed.

For example:

rust-analyzer -p ~/solution-238382y7sds7fsadfasj23j/ -s reverse-string

In the context of the automatic mentoring the utility is invoked inside the Docker container via the bin/analyze.sh script.

Building

Using Cargo

You should have the latest stable version of Rust installed on you machine. Then from the project root run:

cargo build

To run the utility using Cargo execute the following command:

cargo run -- -s exercise_slug -p /path/to/the/solution/directory

To run tests use the following command:

cargo test

Using Docker

Simply run the following script to run the tests in docker:

./bin/run-tests-in-docker.sh

exercism-rust-analyzer's People

Contributors

zapanton avatar exercism-bot avatar erikschierboom avatar senekor avatar harrisonmc555 avatar kytrinyx avatar efx avatar ihid avatar petertseng avatar gilescope avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.