Confidenceman02 / django-elm

A framework for using Elm programs in Django
MIT License
29 stars 1 forks source link

compile command doesn't compile programs when no elm-stuff #116

Closed Confidenceman02 closed 1 month ago

Confidenceman02 commented 1 month ago

Version: 0.16.0

In version 0.16.0 it is no longer required to have a djelm_src directory present in the app. These files are being generated internally now.

Removing them in a project that already has elm programs does not allow the compile command to compile the programs.

Steps to reproduce

You will notice parcel says that no bundles were created.

Confidenceman02 commented 1 month ago

This will affect compiling programs in any CI environment also.

Workaround local

If you still have access to files inside your djelm_src directory just place them in:

static_src/elm-stuff/djelm_0.16.0/entrypoints/ and everything should work fine.

Workaround CI

Keep all files in djelm_src and revert back to previous djelm version.

Proposed fix

Compile command should check all compile critical files are present and generate them if they are not.

Confidenceman02 commented 1 month ago

Released in 0.16.1