alawys use vendored aprs library
This commit is contained in:
parent
b71ae879e9
commit
ac1390ba12
4 changed files with 10 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -40,6 +40,5 @@ k8s/secrets.yaml
|
|||
|
||||
/.horusec
|
||||
|
||||
/vendor
|
||||
/temp
|
||||
server.log
|
||||
|
|
|
|||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "vendor/aprs"]
|
||||
path = vendor/aprs
|
||||
url = git@github.com:aprsme/aprs.git
|
||||
11
mix.exs
11
mix.exs
|
|
@ -121,10 +121,11 @@ defmodule Aprsme.MixProject do
|
|||
end
|
||||
|
||||
defp aprs_dep do
|
||||
if Mix.env() in [:dev] do
|
||||
{:aprs, path: "vendor/aprs"}
|
||||
else
|
||||
{:aprs, github: "aprsme/aprs", branch: "main"}
|
||||
end
|
||||
{:aprs, path: "vendor/aprs"}
|
||||
# if Mix.env() in [:dev] do
|
||||
# {:aprs, path: "vendor/aprs"}
|
||||
# else
|
||||
# {:aprs, github: "aprsme/aprs", branch: "main"}
|
||||
# end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
1
vendor/aprs
vendored
Submodule
1
vendor/aprs
vendored
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit cbe4cf0fcf3577c0b6a3dcf4f34db6d5361db340
|
||||
Loading…
Add table
Reference in a new issue