Skip to content

automate raylib deps#9

Closed
sakgoyal wants to merge 1 commit into
tsoding:mainfrom
sakgoyal:automate
Closed

automate raylib deps#9
sakgoyal wants to merge 1 commit into
tsoding:mainfrom
sakgoyal:automate

Conversation

@sakgoyal
Copy link
Copy Markdown
Contributor

@sakgoyal sakgoyal commented Aug 25, 2025

  • Create a script to automatically set up raylib to avoid malicious code being committed in the repo

  • move node-gyp rebuild step to postinstall so it runs after downloading raylib (automatically runs)

  • npm will run install and then postinstall, in order, automatically on npm install

@sakgoyal
Copy link
Copy Markdown
Contributor Author

this needs to manually specify curl.exe instead of just curl because microsoft did a stupid alias to Invoke-Webrequest in powershell if you type curl

@sakgoyal sakgoyal mentioned this pull request Aug 25, 2025
@rexim
Copy link
Copy Markdown
Member

rexim commented Aug 26, 2025

I personally would like to go with an approach of literally vendoring the source code of raylib and building it from scratch like we do in https://github.com/tsoding/musializer

@rexim rexim closed this Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants