codewars-runner-cli
Old CodeRunner project. See https://github.com/codewars/runner instead.
File Explorer
Download Latest Version (.zip)- bug-report.md
- request-language-version.md
- request-language.md
- request-package.md
- alt.docker
- base.docker
- chapel.docker
- crystal.docker
- dart.docker
- dotnet.docker
- elixir.docker
- erlang.docker
- esolangs.docker
- func.docker
- go.docker
- gradle.docker
- haskell.docker
- java.docker
- julia.docker
- jvm.docker
- lua.docker
- nim.docker
- node.docker
- objc.docker
- ocaml.docker
- powershell.docker
- python.docker
- r.docker
- ruby.docker
- rust.docker
- solidity.docker
- swift.docker
- systems.docker
- chapel.md
- dotnet.md
- erlang.md
- esolangs.md
- go.md
- groovy.md
- haskell.md
- java.md
- julia.md
- jvm.md
- kotlin.md
- lua.md
- nim.md
- node.md
- objc.md
- ocaml.md
- powershell.md
- python.md
- r.md
- ruby.md
- scala.md
- solidity.md
- sql.md
- output_format.md
- setup_config_statements.md
- bf.yml
- c.yml
- chapel.yml
- clojure.yml
- coffeescript.yml
- cpp.yml
- crystal.yml
- csharp.yml
- dart.yml
- elixir.yml
- erlang.yml
- fsharp.yml
- go.yml
- groovy.yml
- haskell.yml
- java.yml
- javascript.yml
- julia.yml
- kotlin.yml
- lua.yml
- nim.yml
- objc.yml
- ocaml.yml
- php.yml
- powershell.yml
- python.yml
- python3.yml
- r.yml
- ruby.yml
- rust.yml
- scala.yml
- solidity.yml
- sql.yml
- swift.yml
- typescript.yml
- run-bf.js
- criterion.c
- cw-2.chpl
- coloredconsoletestresultsoutput.h
- consoleoutputcolors.h
- defaulttestresultsoutput.h
- outputters.h
- testresultsoutput.h
- visualstudiooutput.h
- xmlwriter.h
- xunitoutput.h
- minimalprogresstestlistener.h
- testlisteners.h
- alternativeregistrationaliases.h
- context.h
- contextbase.h
- contextprovider.h
- contextregistry.h
- contextrunner.h
- core.h
- defaultregistrationaliases.h
- registration.h
- testlistener.h
- testlisteneraggregator.h
- testresult.h
- testresultfactory.h
- testresults.h
- testrunner.h
- choices.h
- andexpression.h
- expression.h
- expression_fwd.h
- notexpression.h
- orexpression.h
- constraints.h
- containsconstraint.h
- endswithconstraint.h
- equalsconstraint.h
- equalscontainerconstraint.h
- equalswithdeltaconstraint.h
- fulfillsconstraint.h
- haslengthconstraint.h
- isgreaterthanconstraint.h
- islessthanconstraint.h
- startswithconstraint.h
- alloperator.h
- atleastoperator.h
- atmostoperator.h
- collectionconstraintevaluator.h
- collectionoperator.h
- exactlyoperator.h
- noneoperator.h
- andoperator.h
- constraintoperator.h
- notoperator.h
- oroperator.h
- constraintadapter.h
- constraintlist.h
- expressionbuilder.h
- fluent.h
- assert.h
- assertionexception.h
- assertmacro.h
- exceptions.h
- snowhouse.h
- stringize.h
- stringizers.h
- assertmacro_tests.cpp
- boolean_constraints.cpp
- container_spec.cpp
- custom_matchers_test.cpp
- exceptions_tests.cpp
- expression_error_handling.cpp
- main.cpp
- map_tests.cpp
- operator_tests.cpp
- sequence_container_tests.cpp
- string_line_tests.cpp
- string_tests.cpp
- stringize_tests.cpp
- igloo.h
- igloo_alt.h
- igloo_framework.h
- main.cpp
- example.cr
- formatter.cr
- shard.yml
- SQLite.Interop.dll
- SQLite.Interop.dll
- log4net.dll
- MathNet.Numerics.dll
- Microsoft.Web.Infrastructure.dll
- MongoDB.Bson.dll
- MongoDB.Driver.Core.dll
- MongoDB.Driver.dll
- MongoDB.Dynamic.dll
- Mono.Linq.Expressions.dll
- Mono.Security.dll
- Moq.dll
- Nancy.dll
- Ninject.dll
- Npgsql.dll
- NSubstitute.dll
- Should.dll
- SkiaSharp.dll
- StackExchange.Redis.dll
- System.Data.SQLite.dll
- System.Data.SQLite.EF6.dll
- System.Data.SQLite.Linq.dll
- System.IO.dll
- System.Linq.dll
- System.Linq.Dynamic.dll
- System.Linq.Expressions.dll
- System.Threading.Tasks.dll
- System.Web.Http.dll
- Program.cs
- Startup.cs
- Newtonsoft.Json.dll
- nunit-console-runner.dll
- nunit-console.exe
- nunit.core.dll
- nunit.core.interfaces.dll
- nunit.framework.dll
- nunit.util.dll
- Qualified.dll
- ConsoleOptions.cs
- ConsoleUi.cs
- Display.cs
- Entry.cs
- EventCollector.cs
- Runner.cs
- packages.config
- cw_formatter.ex
- cw_runner.ex
- eunit_codewars.app.src
- eunit_codewars.erl
- rebar.config
- cw.app.src
- solution.erl
- example_tests.erl
- rebar.config
- Ballot.sol
- BlindAuction.sol
- Purchase.sol
- README.md
- SimpleAuction.sol
- .rels
- Fuchu.dll
- Fuchu.pdb
- Fuchu.XML
- b6186cf4f3cf4f74a896269c66cafa5e.psmdcp
- [Content_Types].xml
- Fuchu.1.0.3.nupkg
- Fuchu.nuspec
- license.html
- .rels
- Gallio.dll
- MbUnit.dll
- Gallio.dll
- Gallio35.dll
- MbUnit.dll
- MbUnit35.dll
- Gallio.dll
- Gallio40.dll
- MbUnit.dll
- MbUnit40.dll
- NUnit.Framework.dll
- 3c8bda19ad3b4229b104fcb87cc0a720.psmdcp
- [Content_Types].xml
- Gallio.3.3.1.nupkg
- Gallio.nuspec
- license.html
- .rels
- Xunit.dll
- xunit.dll.tdnet
- xunit.runner.msbuild.dll
- xunit.runner.tdnet.dll
- xunit.runner.utility.dll
- xunit.xml
- 982cda6eb2514772985004d2a0565342.psmdcp
- [Content_Types].xml
- license.html
- xunit.1.9.1.nupkg
- xunit.nuspec
- reporter.go
- GroovyMain.groovy
- KotlinMain.kt
- ScalaMain.scala
- spockTests.groovy
- tests.groovy
- expektTests.kt
- kluentTests.kt
- kotlintestTests.kt
- tests.kt
- JUnit.scala
- JUnitScalaTestAssertions.scala
- ScalaTestJUnitRunner.scala
- build.gradle
- gradle.properties
- prewarm.sh
- BlackList.hs
- Formatters.hs
- Runner.hs
- Hspec.hs
- Example.java
- ExampleTest.java
- CwRunListener.java
- Start.java
- build.gradle
- prewarm.sh
- compile-contract.js
- chai-display.js
- cw-2.js
- display.js
- karma-coderunner-reporter.js
- mocha-reporter.js
- Test.jl
- codewars.lua
- formatter.nim
- CWTest.h
- CWRunner.h
- CodewarsListener.php
- phpunit.xml
- cw-2.php
- ConvertFrom-NUnit.ps1
- codewars.py
- cw-2.py
- unittestwrapper.py
- cw-2.py
- unittestwrapper.py
- codewars-reporter.R
- charts.rb
- compare.rb
- csv_importer.rb
- common.rb
- cw-2.rb
- cwrspecformatter.rb
- shell.rb
- sql.rb
- lib.rs
- Cargo.toml
- Migrations.sol
- setup.sol
- solution.sol
- 1_initial_migration.js
- 2_deploy_contracts.js
- fixture.js
- package-lock.json
- package.json
- start-testrpc.sh
- truffle.js
- _XCTMain.swift
- CodewarsObserver.swift
- test.clj
- clojure.clj
- groovy.clj
- java.clj
- core.clj
- kill_switch.clj
- runners.clj
- utils.clj
- warm_up.clj
- CwRunListener.java
- clojure_test.clj
- groovy_test.clj
- java_test.clj
- core_test.clj
- warm_up_test.clj
- .gitignore
- project.clj
- README.md
- create-node-run-command.js
- exec-node.js
- frontend-frameworks.js
- index.js
- maybe-transform.js
- run-karma.js
- transform.js
- version-info.js
- index.js
- prepare-cw2.js
- prepare-entry-file.js
- prepare-rspec.js
- arm.js
- bf.js
- c.js
- chapel.js
- clojure.js
- coffeescript.js
- cpp.js
- crystal.js
- csharp.js
- dart.js
- elixir.js
- erlang.js
- fsharp.js
- gas.js
- go.js
- groovy.js
- haskell.js
- java.js
- julia.js
- kotlin.js
- lisp.js
- lua.js
- nasm.js
- nim.js
- objc.js
- ocaml.js
- perl.js
- php.js
- powershell.js
- python.js
- python3.js
- r.js
- racket.js
- README.md
- rust.js
- scala.js
- shell.js
- solidity.js
- sql.js
- swift.js
- typescript.js
- code-write-sync.js
- manipulate-file-sync.js
- split-files.js
- tag-helpers.js
- when-prewarmed.js
- wrap.js
- write-file-sync.js
- write-files-sync.js
- cleanup.sh
- config.js
- create-runner.js
- process-options.js
- runner.js
- services.js
- crime.csv
- Demographic_Statistics_By_Zip_Code.csv
- dvdrental.tar
- medals.csv
- realestate.csv
- sales.csv
- techcrunch.csv
- cw-2.js
- test-assert-approx.js
- karma-bdd.js
- karma-tdd.js
- mocha-bdd.js
- mocha-tdd.js
- test-data.json
- ethereum.js
- basics.js
- examples.js
- language-versions.js
- arm_spec.js
- bf_spec.js
- c_spec.js
- chapel_spec.js
- clojure_spec.js
- coffeescript_spec.js
- cpp_spec.js
- crystal_spec.js
- csharp_spec.js
- dart_spec.js
- elixir_spec.js
- erlang_spec.js
- fsharp_spec.js
- gas_spec.js
- go_spec.js
- groovy_spec.js
- haskell_spec.js
- java_spec.js
- julia_spec.js
- kotlin_spec.js
- lisp_spec.js
- lua_spec.js
- nasm_spec.js
- nim_spec.js
- objc_spec.js
- ocaml_spec.js
- perl_spec.js
- php_spec.js
- powershell_spec.js
- python_spec.js
- r_spec.js
- racket_spec.js
- ruby_spec.js
- rust_spec.js
- scala_spec.js
- shell_spec.js
- solidity_spec.js
- sql_spec.js
- swift_spec.js
- typescript_spec.js
- manipulate-file-sync_spec.js
- split-files_spec.js
- runner.js
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- index.d.ts
- browser.d.ts
- main.d.ts
- .dockerignore
- .editorconfig
- .eslintignore
- .eslintrc.yml
- .gitignore
- .travis.yml
- docker-compose.yml
- entrypoint.sh
- LICENSE
- Makefile
- package.json
- README.md
- run-json.js
- run.js
- test_cs.sh
- tsconfig.json
- typings.json
# Installation Guide
git clone https://github.com/codewars/codewars-runner-cli
Downloads the entire project code from GitHub to your computer.
cd codewars-runner-cli
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run --rm -it --entrypoint bash codewars/node-runner
Runs the built image as an actual container.
docker-compose run node-runner
Runs the command against the services defined in the compose file.
docker run --rm codewars/node-runner run -l javascript -c "console.log('I ran inside of Docker using NodeJS')"
Runs the built image as an actual container.
docker run --rm codewars/ruby-runner run -l ruby -c "puts 'I ran inside of Docker using Ruby'"
Runs the built image as an actual container.
docker-compose run javascript -c "console.log('I ran inside of Docker using NodeJS')"
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
3. Gradle (Java/Kotlin)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd frameworks/gradle
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
4. Node.js
Easycd frameworks/solidity/truffle
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
5. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cd frameworks/rust/skeleton
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
6. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make jvm
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
