-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace brotli with ex_brotli (#360)
ex_brotli is distributed as a precompiled rust binary so it avoids issues compiling the C source code required by brotli
- Loading branch information
Showing
7 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
defmodule Beacon.RuntimeCSSTest do | ||
use BeaconWeb.ConnCase, async: false | ||
|
||
alias Beacon.RuntimeCSS | ||
|
||
@site :my_site | ||
|
||
setup_all do | ||
start_supervised!({Beacon.Loader, Beacon.Config.fetch!(@site)}) | ||
:ok | ||
end | ||
|
||
test "load!" do | ||
assert RuntimeCSS.load!(@site) == :ok | ||
assert @site |> RuntimeCSS.fetch() |> :erlang.size() > 100 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
defmodule Beacon.RuntimeJSTest do | ||
use BeaconWeb.ConnCase, async: false | ||
|
||
alias Beacon.RuntimeJS | ||
|
||
@site :my_site | ||
|
||
setup_all do | ||
start_supervised!({Beacon.Loader, Beacon.Config.fetch!(@site)}) | ||
:ok | ||
end | ||
|
||
test "load" do | ||
assert RuntimeJS.load!() == :ok | ||
assert RuntimeJS.fetch() |> :erlang.size() > 100 | ||
end | ||
end |