Comments and pull requests to this project are welcome.
All mission files in the directory missions are generated automatically via scripting tasks in the Rakefile. Therefore if you would like to contribute, make sure you apply your changes to the files in the src directory. Don't forget to regenerate the mission files once you are done!
This project uses the ruby build utility called rake.
All build tasks are contained in the Rakefile of this project.
-
Fork the lua_missions repository first, then clone it:
git clone [email protected]:your-username/lua_missions.git
-
Apply your changes to the files in the src directory.
-
Make sure you can execute all missions without errors or failures:
rake missions:run_src
-
Regenerate the mission files:
rake missions:gen
-
Commit your changes to your repository. You may use the corresponding rake task for that. If you added new files, don't forget to git add them prior to your commit.
rake git:commit -m='your commit message'
-
Push to your fork. Again, you may use the corresponding rake task for that.
rake git:push
-
Submit a pull request.
At this point you have to wait for me. I try to at least comment on pull requests within a few days. Be prepared that I may suggest some improvements and/or propose changes or alternatives.
With the rake infrastructure in place, you may start solving the missions right away:
rake missions:run
Since missions:run is the default rake task, you may start mission solving by simply typing:
rake