Skip to content

Commit

Permalink
Use new test fixture module to seed testopolis
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jul 9, 2024
1 parent 17e09d3 commit e636ed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 128 deletions.
3 changes: 2 additions & 1 deletion publication/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ defmodule FieldPublication.MixProject do

# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support/fixtures/seed_project"]
defp elixirc_paths(_), do: ["lib"]

# Specifies your project dependencies.
Expand Down Expand Up @@ -85,7 +86,7 @@ defmodule FieldPublication.MixProject do
"phx.digest"
],
seed: [
"run seed.exs"
"run --eval 'FieldPublication.Test.ProjectSeed.start(\"testopolis\")'"
],
"seed-desktop-test": [
"run --eval 'FieldPublication.Project.create(\"#{seed_project_name}\")'",
Expand Down
127 changes: 0 additions & 127 deletions publication/seed.exs

This file was deleted.

0 comments on commit e636ed6

Please sign in to comment.