greenfork / nimraylib_now

The Ultimate Raylib gaming library wrapper for Nim
MIT License
149 stars 16 forks source link

Everything is broken #25

Closed greenfork closed 3 years ago

greenfork commented 3 years ago

Original release failed because during development I implicitly relied on build/ directory to be populated with build scripts. In production this build directory was not populated. This is why I decided call the script to populate this directory on startup of build process with gorgeEx. This failed because it requires traversing to the directory above src which is a problem. Nimble installation works quite differently from copying the whole git repository. Only the src directory is copied to the destination package distribution. This way the build/ directory which was created above src was put into the directory where all Nim packages are.

This is why I moved build directory with mangled raylib sources into src directory and now it is distributed with the package. But it complains on incorrect paths when trying to compile from these sources.

Current solution:

It is a bit frustrating that nimble develop works so much differently from nimble install. I managed to make it work in development, in CI on 3 major platforms and still produced a broken library build.

greenfork commented 3 years ago

Fixed by https://github.com/greenfork/nimraylib_now/pull/27