generator-kattisnet
v1.0.1
Published
Generator for Kattis dotnet core solution
Downloads
5
Readme
About
Dotnet C# client for solving Kattins problems.
How to use
Client using yeoman for scaffolding the solution. To build and run locally node package manager is required.
Dependencies
Generator requires:
- dotnet
- npm
- python
- requests library
pip3 install requests
- requests library
- yeoman
npm install -g yo
Quick start
- Get your
.kattisrc
file from Kattis https://[ContestNAME].kattis.com/download/kattisrc - Save it in home directory created for your contest e.g.
/home/kattis/contest2/.kattisrc
- Create directory for your problem
mkdir -p /home/kattis/contest2/hello
- Go to directory
cd /home/kattis/contest2/hello
- Run yeoman
yo kattisnet
- Run tests
npm run test
while you solve the problem- [Optional] run format
npm run format
- [Optional] run format
- Submit your solution
npm run submit
Build
Like any other node project - use commands in package.json
. First npm i
to install packages, then npm run test
to test.
Use local version
To use local version, vs. the one in npm registry use npm link
.
See Running the generator in yeoman docs.