Skip to content

Commit

Permalink
Merge pull request #11 from zmstone/pin-pc-version
Browse files Browse the repository at this point in the history
Pin port-compiler (pc) 1.15.0
  • Loading branch information
zmstone authored Oct 9, 2024
2 parents 1b8318c + 1dd0653 commit 849f20e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: 3.20.0
rebar3-version: 3.24.0
- run: |
rebar3 eunit
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{w, all},
warn_export_all]}.

{plugins, [pc]}.
{plugins, [{pc, "1.15.0"}]}.

{provider_hooks, [
{pre, [
Expand Down
3 changes: 1 addition & 2 deletions src/snappyer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@

-spec init() -> ok.
init() ->
_ = erlang:load_nif(so_path(), 0),
ok.
ok = erlang:load_nif(so_path(), 0).

-spec compress(iodata()) -> {ok, binary()} | {error, binary()}.
compress(_IoList) ->
Expand Down

0 comments on commit 849f20e

Please sign in to comment.