- Fork this repository. You might want to make it private, if you want to hide your solutions from others.
- Run
git clone <your_repo_url>on your local machine. - Run
git remote add upstream https://github.com/LeKSuS-04/mephictf-go.gitto add repository with tasks as remote source. - Run
git config --local pull.rebase trueto ensure that new tasks will be pulled correctly.
- Write code in files that don't end with
_test.go. - Run
go test ./<path>to test specific task orgo test ./...to run all tests in the repository. - Commit your solution with
git add <path>andgit commit -m "<commit_msg>"and push it to github withgit push. - View results of automatic testing on
actionstab in github.
- Make sure that all of your changes are commited.
- Run
git pull upstream masterto pull new tasks. - Although unlikely, you might stumble into merge conflicts. Here's how to resolve them.
- Basics of the language
Feel free to open PRs to this repository if you find any mistakes or inaccuracies. If you wish to discuss them beforehand, open an issue.