Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Update issues with sugar
1) Mix calls prevent distillery from working (maybe 1.9 releases as well?)
-) lib/sugar/app.ex, line 25
-) lib/sugar/controller/helpers.ex, line 283
3) Can't start app except via mix task
-) I want Application.ensure_started(:sugar) to start Sugar
-) lib/sugar/app.ex doesn't execute like the Sugar server task does.
2) lib/ access at runtime doesn't work in distillery
-) lib/sugar/views/finder.ex, lines 40, 45
4) Templates are only loaded into the template server when compiled
-) and can't (re)compile in distillery, so nothing is loaded.
Also, I think the views/finder.ex code fits better in the template package, logically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment