I have my examples/elm-package.json include ../src, and have my CI script build all the examples so that I remember to update the examples of the API changes.
Also, imo it's good to have a separate examples/elm-package.json because you often want other dependencies to make a realistic example. On May 8, 2017 7:38 AM, "Eirik Sletteberg" <[email protected]> wrote: > Maybe write an example in the form of an integration test - then you know > your example will be up to date with the actual code, and it may even > discover bugs! > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
