mirror of
https://github.com/edgurgel/httparrot
synced 2025-04-05 16:22:32 -04:00
Update to Elixir 0.14.0
This commit is contained in:
parent
b06eb27575
commit
97071dbb27
4 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ otp_release:
|
||||||
install: mix deps.get
|
install: mix deps.get
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p vendor/elixir
|
- mkdir -p vendor/elixir
|
||||||
- wget -q https://github.com/elixir-lang/elixir/releases/download/v0.13.3/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir
|
- wget -q https://github.com/elixir-lang/elixir/releases/download/v0.14.0/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir
|
||||||
- export PATH="$PATH:$PWD/vendor/elixir/bin"
|
- export PATH="$PATH:$PWD/vendor/elixir/bin"
|
||||||
- export MIX_ENV=test
|
- export MIX_ENV=test
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
defmodule HTTParrot do
|
defmodule HTTParrot do
|
||||||
use Application.Behaviour
|
use Application
|
||||||
|
|
||||||
def start(_type, _args) do
|
def start(_type, _args) do
|
||||||
dispatch = :cowboy_router.compile([
|
dispatch = :cowboy_router.compile([
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
defmodule HTTParrot.Supervisor do
|
defmodule HTTParrot.Supervisor do
|
||||||
use Supervisor.Behaviour
|
use Supervisor
|
||||||
|
|
||||||
def start_link do
|
def start_link do
|
||||||
:supervisor.start_link({:local, __MODULE__}, __MODULE__, [])
|
:supervisor.start_link({:local, __MODULE__}, __MODULE__, [])
|
||||||
|
|
4
mix.exs
4
mix.exs
|
@ -5,7 +5,7 @@ defmodule Httparrot.Mixfile do
|
||||||
[ app: :httparrot,
|
[ app: :httparrot,
|
||||||
version: "0.1.1",
|
version: "0.1.1",
|
||||||
name: "HTTParrot",
|
name: "HTTParrot",
|
||||||
elixir: "~> 0.13.3",
|
elixir: "~> 0.14.0",
|
||||||
deps: deps ]
|
deps: deps ]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ defmodule Httparrot.Mixfile do
|
||||||
|
|
||||||
defp deps do
|
defp deps do
|
||||||
[ {:cowboy, github: "extend/cowboy", tag: "0.9.0"},
|
[ {:cowboy, github: "extend/cowboy", tag: "0.9.0"},
|
||||||
{:jsex, '~> 2.0'},
|
{:jsex, "~> 2.0"},
|
||||||
{:meck, github: "eproxus/meck", tag: "0.8.2", only: :test } ]
|
{:meck, github: "eproxus/meck", tag: "0.8.2", only: :test } ]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue