Zergatul / freecam

10 stars 5 forks source link

Added Makefile and Github Workflow #13

Closed Noriskky closed 2 months ago

Noriskky commented 2 months ago

Hey i added a Makefile to make it more straight forward build/compile the project also i added the Documentation for that.

The Last thing i did is adding a Github Workflow that executes everytime you commit/push and you accept Pullrequests it will build the project for you, this can useful so your users dont have to compile it from source everytime they want a newer version and you can provide download of the jars automactilly.

- Noriskky

Zergatul commented 2 months ago

Thanks for proposal. I never worked with github actions. I have few questions:

Noriskky commented 2 months ago

Hey no problem i can fix the Issues you proposed just give me like 10 minutes

Noriskky commented 2 months ago

Hey

  1. I Fixed the Issues with the Spamming also i added documenation where to find the jars
  2. I find it a bit easier to follow the instruction with Makefiles also you can intregrade it better in your Workflow with for example Neovim/Vim
  3. I now exclude the sources jar

- Noriskky

Noriskky commented 2 months ago

PS: The picture in the Readme will work when the pullrequest is accepted

Zergatul commented 2 months ago

I find it a bit easier to follow the instruction with Makefiles also you can intregrade it better in your Workflow with for example Neovim/Vim

Maybe it can be better with Neovim, but almost everyone in Minecraft modding community uses Intellij IDEA. And it works perfectly fine with gradle.

And from the other side, having makefile on top of gradle doesn't really simplify things. Now you need to understand 2 build tools instead of one, and you can have issues in 2 places instead of 1.

Could you also update README, on Windows it is not required to type gradlew.bat, it understands gradlew build perfectly fine. Even from powershell I always use ./gradlew build.

Noriskky commented 2 months ago

I fully understand you and i can change it shortly

Zergatul commented 2 months ago

Did you actually test jar file built by github actions?

Noriskky commented 2 months ago

Yes