Closed ibarakaiev closed 4 months ago
One side effect of this change is that, when running apply_and_fetch_dependencies/2
, the changes to elixirc_paths
and the new functions show up, which appear a bit confusing when only dependencies need to be installed.
Got a few things here:
Igniter.Project.Test
, and it should potentially happen automatically if you add a file to test/support
.deps/0
function? Is the place that you are calling it manually in ash_money
? Maybe we can make adjustments to that process instead.Will come back to this once the main installer is merged.
Closing in favor of #346
🚀 Thank you for your contribution! 🚀
Contributor checklist
This PR sets up
DataCase
for testing purposes, unless it already exists, and addstest
toelixirc_paths
inmix.exs
unlesselixirc_paths
are already defined. For fresh Mix projects, this will do both; for existing Phoenix projects, nothing will happen. This makes it possible to use AshPostgres out of the box even in tests.Note: this PR is pending https://github.com/ash-project/igniter/pull/38 and https://github.com/ash-project/igniter/pull/37, so it is marked as a draft.