kata_machine

Crates.iokata_machine
lib.rskata_machine
version0.1.8
sourcesrc
created_at2023-05-22 22:29:48.449376
updated_at2023-05-28 21:00:35.743544
descriptionA quick way to generate a sandbox, start coding and easily test your katas across multiple languages
homepagehttps://github.com/poochy442/kata_machine
repositoryhttps://github.com/poochy442/kata_machine
max_upload_size
id871393
size36,122
Kenneth Jensen (poochy442)

documentation

README

Kata Machine

A quick way to generate a sandbox, start coding and easily test your katas across multiple languages

Commands

  • init

    Ensures you have everything required to run the tests installed, and if not, it will install it.

    It will check/install:

    • dotnet (will install .NET6 if not)

    • npm (will install latest)

    • rust (will install the latest)

  • generate

    Generates the kata for the day. You can specify the languages and katas listed below. Also generates a session.json file, which tracks the most recent day (used below).

    Languages

    • rust (default)

    • csharp or cs

    • typescript or ts

    Katas

    • calculator - based on Roy Osherov's String Calculator (default)

    • dsa - coming soon, will generate a project of data structures and algorithms that use it to be solved

    • interview - coming soon, will generate a interview-like question from a small pool of examples

  • test

    Tests the most recent day using the session.json created during generate.

    Note: This is simply a shorthand for running cargo test, dotnet test, or npm test depending on the language. If you want to continue a previous day, simply run the command in the folder and it will work the same.

  • clean

    Cleans up all Kata Machine data. This includes:

    • All language folders, including all their content

    • The session.json

    • Removing .vscode/settings.json

Commit count: 24

cargo fmt