-
Notifications
You must be signed in to change notification settings - Fork 0
/
projections.json
46 lines (46 loc) · 1.03 KB
/
projections.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"web/*.ex": {
"alternate": ["test/{}_test.exs", "spec/{}_spec.exs"],
"type": "source",
"template": [
"defmodule {project|basename|camelcase}.{basename|camelcase} do",
"",
"end"
]
},
"lib/*.ex": {
"alternate": ["test/{}_test.exs", "spec/{}_spec.exs"],
"type": "source",
"template": [
"defmodule {project|basename|camelcase}.{basename|camelcase} do",
"",
"end"
]
},
"web/*.eex": {
"alternate": "web/views/{dirname|basename}_view.ex",
"type": "source"
},
"test/*_test.exs": {
"alternate": ["web/{}.ex", "lib/{}.ex"],
"type": "test",
"template": [
"defmodule {project|basename|camelcase}.{basename|camelcase}Test do",
"",
"end"
]
},
"spec/*_spec.exs": {
"alternate": ["web/{}.ex", "lib/{}.ex"],
"type": "test",
"template": [
"defmodule {project|basename|camelcase}.{basename|camelcase}Test do",
"",
"end"
]
},
"*": {
"dispatch": "iex -S mix",
"start": "mix phoenix.server"
}
}