NiklasEi / bevy_game_template

Template for a Bevy game including CI/CD for web, Windows, Linux, macOS, iOS and Android
https://niklasei.github.io/bevy_game_template/
Creative Commons Zero v1.0 Universal
844 stars 89 forks source link

feat(workspace): Add Nix Shell build environment #112

Open vpochapuis opened 7 months ago

vpochapuis commented 7 months ago

What

This is a proposition of a Nix Shell ready to build and use the project with. Feedback, improvements and modifications would be great!

Tested:

Why

Let users quickly setup a working build environment in a distro/OS agnostic way. (This also could be used for CI use! However for binary release might need to use the patchelf utility).

How

I tried to bundle all I could find from the repository apart from some target CI release tools that would need further help to integrate.

(if possible, preference for a git squash merge using PR name or other, as the commit descriptions in my current PR state aren't great)

NiklasEi commented 7 months ago

Just in case you didn't see it: #85 is a previous attempt. Why do we need to use nightly for everything?

vpochapuis commented 7 months ago

Just in case you didn't see it: #85 is a previous attempt. Why do we need to use nightly for everything?

Thank you for your quick feedback!

Indeed there is no need to use nightly for everything I think i set it when trying to build xbuild and the android part. I will remove it.

As for #85 it seems this PR hasn't been updated for a while, I would like to give another chance to try and introduce this feature to the repository~