psxcode / assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robot

My robot assignment

Docker

Docker build will run unit tests before compiling the bundle.

docker build -t psxcode/assignment:latest .

Then run it

printf "2\n10 22\nE 2\nN 1" | docker run -i --rm --name ass psxcode/assignment

Run locally

Make sure you have all deps installed. Just run yarn install

printf "2\n10 22\nE 2\nN 1" | node -r ./register.js ./src

Test locally

Make sure you have all deps installed. Just run yarn install

yarn test

About

License:MIT License


Languages

Language:TypeScript 86.8%Language:JavaScript 7.9%Language:Dockerfile 3.9%Language:Shell 1.3%