Skip to content

Write to manifest #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 11, 2017
Merged

Write to manifest #439

merged 8 commits into from
Nov 11, 2017

Conversation

bryanjos
Copy link
Collaborator

@bryanjos bryanjos commented Nov 10, 2017

fixes #435
fixes #436

@@ -27,8 +28,13 @@ defmodule ElixirScript.Output do
{module, name, path, import_path}
end)

modules
|> create_modules(opts, js_modules)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no more than 1 consecutive blank lines.

@@ -94,7 +94,9 @@ defmodule ElixirScript.FindUsedModules do

functions = Enum.map(first_implementation_functions, fn { name, _, _, _} -> name end)

ModuleState.put_module(pid, module, %{protocol: true, impls: impls, functions: functions})
module_info = Map.merge(module_info, %{protocol: true, impls: impls, functions: functions})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long (max is 80, was 95).

@@ -7,7 +7,7 @@ defmodule ElixirScript.Beam do
For protocols, this will return a list of
all the protocol implementations
"""
@spec debug_info(atom | bitstring) :: {:ok | :error, map | binary}
@spec debug_info(atom | bitstring) :: {:ok, map} | {:ok, atom, map, list} | {:error, binary}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long (max is 80, was 94).

.credo.exs Outdated
@@ -61,7 +61,7 @@

{Credo.Check.Readability.FunctionNames},
{Credo.Check.Readability.LargeNumbers},
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 80},
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 80, ignore_specs: true},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long (max is 80, was 100).

@sourcelevel-bot
Copy link

Ebert has finished reviewing this Pull Request and has found:

  • 82 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/elixirscript/elixirscript/pulls/439.

@bryanjos bryanjos changed the title [WIP] Write to manifest Write to manifest Nov 11, 2017
@bryanjos bryanjos merged commit f14598f into master Nov 11, 2017
@bryanjos bryanjos deleted the manifest branch November 11, 2017 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create manifests function in Mix compiler Create compiler manifest
1 participant