changed
hex_metadata.config
|
@@ -1,6 +1,6 @@
|
1
1
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/begedin/makeup_css">>}]}.
|
2
2
|
{<<"name">>,<<"makeup_css">>}.
|
3
|
- {<<"version">>,<<"0.2.0">>}.
|
3
|
+ {<<"version">>,<<"0.2.1">>}.
|
4
4
|
{<<"description">>,<<"CSS lexer for the Makeup syntax highlighter.">>}.
|
5
5
|
{<<"elixir">>,<<"~> 1.16">>}.
|
6
6
|
{<<"app">>,<<"makeup_css">>}.
|
changed
lib/makeup_css/application.ex
|
@@ -1,11 +1,11 @@
|
1
|
- defmodule MakeupCss.Application do
|
1
|
+ defmodule MakeupCSS.Application do
|
2
2
|
@moduledoc false
|
3
3
|
use Application
|
4
4
|
|
5
5
|
alias Makeup.Registry
|
6
6
|
|
7
7
|
def start(_type, _args) do
|
8
|
- Registry.register_lexer(MakeupCss.Lexer,
|
8
|
+ Registry.register_lexer(MakeupCSS.Lexer,
|
9
9
|
options: [],
|
10
10
|
names: ["css"],
|
11
11
|
extensions: ["css"]
|
changed
lib/makeup_css/lexer.ex
|
@@ -1,4 +1,4 @@
|
1
|
- defmodule MakeupCss.Lexer do
|
1
|
+ defmodule MakeupCSS.Lexer do
|
2
2
|
import Makeup.Lexer.Combinators
|
3
3
|
import Makeup.Lexer.Groups
|
4
4
|
import NimbleParsec
|
changed
lib/makeup_css/testing.ex
|
@@ -1,7 +1,7 @@
|
1
|
- defmodule MakeupCss.Testing do
|
1
|
+ defmodule MakeupCSS.Testing do
|
2
2
|
@moduledoc false
|
3
3
|
alias Makeup.Lexer.Postprocess
|
4
|
- alias MakeupCss.Lexer
|
4
|
+ alias MakeupCSS.Lexer
|
5
5
|
|
6
6
|
# This function has two purposes:
|
7
7
|
# 1. Ensure deterministic lexer output (no random prefix)
|
changed
mix.exs
|
@@ -1,7 +1,7 @@
|
1
|
- defmodule MakeupCss.MixProject do
|
1
|
+ defmodule MakeupCSS.MixProject do
|
2
2
|
use Mix.Project
|
3
3
|
|
4
|
- @version "0.2.0"
|
4
|
+ @version "0.2.1"
|
5
5
|
|
6
6
|
@url "https://github.com/begedin/makeup_css"
|
7
7
|
def project do
|
|
@@ -45,7 +45,7 @@ defmodule MakeupCss.MixProject do
|
45
45
|
[
|
46
46
|
extra_applications: [],
|
47
47
|
deps: deps(),
|
48
|
- mod: {MakeupCss.Application, []}
|
48
|
+ mod: {MakeupCSS.Application, []}
|
49
49
|
]
|
50
50
|
end
|
51
51
|
|
|
@@ -74,7 +74,7 @@ defmodule MakeupCss.MixProject do
|
74
74
|
raise "cannot build docs because escript for ex_doc is not installed"
|
75
75
|
end
|
76
76
|
|
77
|
- args = ["MakeupCss", @version, Mix.Project.compile_path()]
|
77
|
+ args = ["MakeupCSS", @version, Mix.Project.compile_path()]
|
78
78
|
opts = ~w[--main MakeupCSS.Lexer --source-ref v#{@version} --source-url #{@url}]
|
79
79
|
System.cmd(ex_doc, args ++ opts)
|
80
80
|
Mix.shell().info("Docs built successfully")
|