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

1.0 patch #2

Merged
merged 7 commits into from
Mar 17, 2016
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: erlang
before_script: "make get-lfetool"
script: "make check"
notifications:
#irc: "irc.freenode.org#YOUR-PROJECT-CHANNEL"
recipients:
#- YOU@YOUR.DOMAIN
install: true
Copy link
Member Author

Choose a reason for hiding this comment

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

Without this, Travis tries to do rebar get-deps etc.

env:
- PATH=".:$PATH"
Copy link
Member Author

Choose a reason for hiding this comment

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

This hack lets make find rebar3 and obviates the need for sudo.

before_script:
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod +x rebar3
script:
- make check
otp_release:
- 17.1
- R16B03
- 18.2
- 17.5
- R16B03-1
- R15B03
2 changes: 1 addition & 1 deletion lfe.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(#(meta
(#(name kla)
#(description "An LFE Wrapper Library used to Dress Up Erlang Libraries in a Lispy Costume")
#(version "0.6.0")
#(version "0.6.2")
#(keywords ("LFE" "Lisp" "Library" "Utility"))
#(maintainers
((#(name "Duncan McGreggor") #(email "oubiwann@gmail.com"))))
Expand Down
6 changes: 6 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
{provider_hooks, [
{pre, [{compile, {lfe, compile}}]}
]}.

{profiles, [
{test,
[{deps,
[{ltest, {git, "https://github.com/lfex/ltest.git", {tag, "0.7.1"}}}]}]}
]}.
2 changes: 1 addition & 1 deletion src/kla.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{description, "An LFE Wrapper Library used to Dress Up Erlang Libraries in a Lispy Costume"},

%% The version of the application
{vsn, "0.6.0"},
{vsn, "0.6.2"},

%% All modules used by the application.
{modules,
Expand Down
4 changes: 3 additions & 1 deletion src/kla.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
(filter-funcs funcs))))

(defun filter-funcs (funcs)
(let ((skips '(module_info)))
(let ((skips '($handle_undefined_function
LFE-EXPAND-EXPORTED-MACRO
module_info)))
(lists:filter
(match-lambda
((`#(,func ,_)) (not (lists:member func skips))))
Expand Down