Skip to content

Commit

Permalink
Merge pull request #1094 from totoroot/fix-tests
Browse files Browse the repository at this point in the history
Fix tests for phoenix
  • Loading branch information
domenkozar authored Apr 2, 2024
2 parents e5bf2a5 + c14d6de commit a18e86a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/phoenix/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello/
5 changes: 4 additions & 1 deletion examples/phoenix/devenv.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ pkgs, lib, ... }:

{
packages = lib.optionals pkgs.stdenv.isLinux [ pkgs.inotify-tools ];
packages = [
pkgs.git
] ++ lib.optionals pkgs.stdenv.isLinux [ pkgs.inotify-tools ];

languages.elixir.enable = true;

Expand All @@ -10,6 +12,7 @@
initialScript = ''
CREATE ROLE postgres WITH LOGIN PASSWORD 'postgres' SUPERUSER;
'';
initialDatabases = [{ name = "hello_dev"; }];
};

processes.phoenix.exec = "cd hello && mix phx.server";
Expand Down
1 change: 1 addition & 0 deletions examples/rubyonrails/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blog/

0 comments on commit a18e86a

Please sign in to comment.