Skip to content
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

Readme and update test #1

Merged
merged 3 commits into from Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -84,8 +84,8 @@ An optional convenience step is to alias your SVG module in your myapp_web.ex fi
```elixir
<%= Svg.render( "heroicons/menu" ) %>
<%= Svg.render( "heroicons/user", class: "h-5 w-5 inline" ) %>
<%= Svg.render( "heroicons/login", class: "h-5 w-5", phx_click: "action" )
<%= Svg.render( "heroicons/logout", "@click": "alpine_action" )
<%= Svg.render( "heroicons/login", class: "h-5 w-5", phx_click: "action" ) %>
<%= Svg.render( "heroicons/logout", "@click": "alpine_action" ) %>
```

### Live reloading
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
@@ -1,7 +1,7 @@
defmodule Adept.Svg.MixProject do
use Mix.Project

@version "0.3.0"
@version "0.3.1"
@url "https://github.com/adept-bits/adept_svg"

def project do
Expand Down
3 changes: 1 addition & 2 deletions test/adept_svg_test.exs
Expand Up @@ -35,8 +35,7 @@ defmodule Adept.SvgTest do
Adept.Svg.compile("test/svgs/more")
|> Adept.Svg.compile("test/svgs/more")
end)

assert log =~ "[warn] SVG file:"
assert (log =~ "[warn] SVG file:") || (log =~ "[warning] SVG file:")
assert log =~ "overwrites existing svg: cube"
end

Expand Down