Skip to content

Commit

Permalink
Fix "mix rustler.new" on Elixir 1.13
Browse files Browse the repository at this point in the history
Closes #412
  • Loading branch information
philss authored and hansihe committed Dec 7, 2021
1 parent 46494d2 commit d5d003d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,15 @@ jobs:
strategy:
matrix:
pair:
- erlang: "24.0"
elixir: "1.12.2"
- erlang: "24.0"
- erlang: "24.1.7"
elixir: "1.13.0"
- erlang: "24.1.7"
elixir: "1.12.3"
- erlang: "24.1.7"
elixir: "1.11.4"

- erlang: "23.3"
elixir: "1.11.4"

- erlang: "23.0.3"
elixir: "1.10.3"

Expand Down
2 changes: 1 addition & 1 deletion rustler_mix/lib/mix/tasks/rustler.new.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule Mix.Tasks.Rustler.New do
end
end

@switches [:module, :name, :otp_app]
@switches [module: :string, name: :string, otp_app: :string]

def run(argv) do
{opts, _argv, _} = OptionParser.parse(argv, switches: @switches)
Expand Down

0 comments on commit d5d003d

Please sign in to comment.