Skip to content

Commit b5e0791

Browse files
Initial commit
0 parents  commit b5e0791

7 files changed

+74
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/_build
2+
/deps
3+
erl_crash.dump
4+
*.ez

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
EctoValidationCase
2+
==================
3+
4+
** TODO: Add description **

config/config.exs

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This file is responsible for configuring your application
2+
# and its dependencies with the aid of the Mix.Config module.
3+
use Mix.Config
4+
5+
# This configuration is loaded before any dependency and is restricted
6+
# to this project. If another project depends on this project, this
7+
# file won't be loaded nor affect the parent project. For this reason,
8+
# if you want to provide default values for your application for third-
9+
# party users, it should be done in your mix.exs file.
10+
11+
# Sample configuration:
12+
#
13+
# config :logger, :console,
14+
# level: :info,
15+
# format: "$date $time [$level] $metadata$message\n",
16+
# metadata: [:user_id]
17+
18+
# It is also possible to import configuration files, relative to this
19+
# directory. For example, you can emulate configuration per environment
20+
# by uncommenting the line below and defining dev.exs, test.exs and such.
21+
# Configuration from the imported file will override the ones defined
22+
# here (which is why it is important to import them last).
23+
#
24+
# import_config "#{Mix.env}.exs"

lib/ecto_validation_case.ex

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
defmodule EctoValidationCase do
2+
end

mix.exs

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
defmodule EctoValidationCase.Mixfile do
2+
use Mix.Project
3+
4+
def project do
5+
[app: :ecto_validation_case,
6+
version: "0.0.1",
7+
elixir: "~> 1.0",
8+
build_embedded: Mix.env == :prod,
9+
start_permanent: Mix.env == :prod,
10+
deps: deps]
11+
end
12+
13+
# Configuration for the OTP application
14+
#
15+
# Type `mix help compile.app` for more information
16+
def application do
17+
[applications: [:logger]]
18+
end
19+
20+
# Dependencies can be Hex packages:
21+
#
22+
# {:mydep, "~> 0.3.0"}
23+
#
24+
# Or git/path repositories:
25+
#
26+
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
27+
#
28+
# Type `mix help deps` for more examples and options
29+
defp deps do
30+
[]
31+
end
32+
end

test/ecto_validation_case_test.exs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
defmodule EctoValidationCaseTest do
2+
use ExUnit.Case
3+
4+
test "the truth" do
5+
assert 1 + 1 == 2
6+
end
7+
end

test/test_helper.exs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ExUnit.start()

0 commit comments

Comments
 (0)