Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cleanup

+16 -20
-4
flake.nix
··· 90 90 pkgs.fmt 91 91 pkgs.libgit2 92 92 ]; 93 - 94 - shellHook = '' 95 - export LEXICAL_START_PATH="${lexical}/binsh/start_lexical.sh" 96 - ''; 97 93 }; 98 94 99 95 packages = {
+16 -16
mix.exs
··· 3 3 4 4 def project do 5 5 [ 6 + aliases: aliases(), 6 7 app: :sower, 7 - version: String.trim(File.read!("VERSION")), 8 + deps: deps(), 8 9 elixir: "~> 1.14", 9 10 elixirc_paths: elixirc_paths(Mix.env()), 10 11 start_permanent: Mix.env() == :prod, 11 - aliases: aliases(), 12 - deps: deps() 13 - ] 14 - end 15 - 16 - def application do 17 - [ 18 - mod: {Sower.Application, []}, 19 - extra_applications: [:logger, :runtime_tools] 12 + version: String.trim(File.read!("VERSION")) 20 13 ] 21 14 end 22 15 23 - # Specifies which paths to compile per environment. 24 - defp elixirc_paths(:test), do: ["lib", "test/support"] 25 - defp elixirc_paths(_), do: ["lib"] 26 - 27 16 defp deps do 28 17 [ 29 18 {:ash, "~> 3.0.0-rc.17"}, 30 - {:ash_postgres, "~> 2.0.0-rc.5"}, 31 19 {:ash_phoenix, "~> 2.0.0-rc.4"}, 20 + {:ash_postgres, "~> 2.0.0-rc.5"}, 32 21 {:bandit, "~> 1.0"}, 33 22 {:esbuild, "~> 0.8", runtime: Mix.env() == :dev}, 34 23 {:finch, "~> 0.13"}, ··· 37 26 {:jason, "~> 1.2"}, 38 27 {:makeup, "~> 1.1"}, 39 28 {:makeup_json, "~> 0.1.0"}, 29 + {:phoenix, "~> 1.7.7"}, 40 30 {:phoenix_ecto, "~> 4.4"}, 41 31 {:phoenix_html, "~> 4.1.1"}, 42 32 {:phoenix_live_dashboard, "~> 0.8.0"}, 43 33 {:phoenix_live_reload, "~> 1.2", only: :dev}, 44 34 {:phoenix_live_view, "~> 0.20.0"}, 45 - {:phoenix, "~> 1.7.7"}, 46 35 {:postgrex, ">= 0.0.0"}, 47 36 {:swoosh, "~> 1.3"}, 48 37 {:tailwind, "~> 0.2.0", runtime: Mix.env() == :dev}, ··· 62 51 "assets.deploy": ["tailwind default --minify", "esbuild default --minify", "phx.digest"] 63 52 ] 64 53 end 54 + 55 + def application do 56 + [ 57 + mod: {Sower.Application, []}, 58 + extra_applications: [:logger, :runtime_tools] 59 + ] 60 + end 61 + 62 + # Specifies which paths to compile per environment. 63 + defp elixirc_paths(:test), do: ["lib", "test/support"] 64 + defp elixirc_paths(_), do: ["lib"] 65 65 end