Rename dir to

pull/467/head
Connor Rigby 2018-03-11 14:42:25 -07:00
parent 0b9ac093a2
commit d65f9e0129
24 changed files with 8 additions and 5 deletions

3
.gitignore vendored
View File

@ -19,7 +19,8 @@ ttb_last_config
auth_secret_test.exs auth_secret_test.exs
auth_secret.exs auth_secret.exs
# Farmbot argifacts # Farmbot artifacts
overlay
tmp/ tmp/
test_tmp/ test_tmp/
priv/build_calendar.so priv/build_calendar.so

View File

@ -23,7 +23,10 @@ defmodule Farmbot.System.Profile do
def profile_dir do def profile_dir do
case Farmbot.Project.target() do case Farmbot.Project.target() do
"host" -> Path.join(["overlay", "profiles"]) "host" ->
path = Path.join(["overlay", "profiles"])
Path.mkdir_p!path)
path
_ -> "/profiles" _ -> "/profiles"
end end
end end

View File

@ -178,11 +178,11 @@ defmodule Farmbot.Mixfile do
end end
defp elixirc_paths(:test, "host") do defp elixirc_paths(:test, "host") do
["./lib", "./nerves/host", "./test/support"] ["./lib", "./platform/host", "./test/support"]
end end
defp elixirc_paths(_, "host") do defp elixirc_paths(_, "host") do
["./lib", "./nerves/host"] ["./lib", "./platform/host"]
end end
defp elixirc_paths(_env, _target) do defp elixirc_paths(_env, _target) do

View File

@ -1 +0,0 @@
*.exs