forked from ErlyORM/aleppo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ErlyORM#19 from inaka/elbrujohalcon.18.switch_buil…
…d_tools_to_erlang_m [Fix ErlyORM#18] Get it ready for republishing on hex.pm
- Loading branch information
Showing
11 changed files
with
226 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
.awconfig | ||
hexer.config | ||
ebin | ||
aleppo_parser.erl | ||
aleppo_parser.erl | ||
/.settings/ | ||
/.project | ||
.rebar |
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,28 @@ | ||
language: erlang | ||
sudo: false | ||
otp_release: | ||
# Test on all supported releases | ||
- 18.2.1 | ||
- 18.1 | ||
- 18.0 | ||
- 17.5 | ||
- 17.4 | ||
- 17.3 | ||
- 17.1 | ||
- 17.0 | ||
- R16B03-1 | ||
- R16B03 | ||
- R16B02 | ||
- R16B01 | ||
- R16B | ||
- R15B03 | ||
- R15B02 | ||
- R15B01 | ||
- R15B | ||
|
||
script: | ||
- make | ||
- make plt | ||
- make dialyze | ||
notifications: | ||
email: false |
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,69 @@ | ||
# Change Log | ||
|
||
## [0.9.5](https://github.com/inaka/aleppo/tree/0.9.5) (2015-12-31) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/0.9.4...0.9.5) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[\#16\] Version bump 0.9.5 [\#17](https://github.com/inaka/aleppo/pull/17) ([davecaos](https://github.com/davecaos)) | ||
|
||
## [0.9.4](https://github.com/inaka/aleppo/tree/0.9.4) (2015-12-30) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/0.9.3...0.9.4) | ||
|
||
**Closed issues:** | ||
|
||
- Hex Packages [\#13](https://github.com/inaka/aleppo/issues/13) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[\#13\] Updated version to 0.9.4 in src/aleppo.app.src [\#15](https://github.com/inaka/aleppo/pull/15) ([davecaos](https://github.com/davecaos)) | ||
|
||
## [0.9.3](https://github.com/inaka/aleppo/tree/0.9.3) (2015-12-30) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/0.9.2...0.9.3) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[\#13\] Updated for hexer hex package tool [\#14](https://github.com/inaka/aleppo/pull/14) ([davecaos](https://github.com/davecaos)) | ||
|
||
## [0.9.2](https://github.com/inaka/aleppo/tree/0.9.2) (2015-09-04) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/0.9.1...0.9.2) | ||
|
||
**Fixed bugs:** | ||
|
||
- Tokens that are replaced by a macro get the wrong location [\#7](https://github.com/inaka/aleppo/issues/7) | ||
|
||
**Closed issues:** | ||
|
||
- Remove OTP 18.0 warnings and fix location bug [\#11](https://github.com/inaka/aleppo/issues/11) | ||
- maps's error not throw [\#9](https://github.com/inaka/aleppo/issues/9) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[Closes \#11\] Remove warnings, handle new location token attribute [\#12](https://github.com/inaka/aleppo/pull/12) ([jfacorro](https://github.com/jfacorro)) | ||
|
||
## [0.9.1](https://github.com/inaka/aleppo/tree/0.9.1) (2014-11-11) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/0.9.0...0.9.1) | ||
|
||
**Fixed bugs:** | ||
|
||
- .app file not being copied to ebin on compile [\#3](https://github.com/inaka/aleppo/issues/3) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[\#7\] Assign the location of the macro to the tokens that replace it. [\#8](https://github.com/inaka/aleppo/pull/8) ([jfacorro](https://github.com/jfacorro)) | ||
|
||
## [0.9.0](https://github.com/inaka/aleppo/tree/0.9.0) (2014-08-08) | ||
[Full Changelog](https://github.com/inaka/aleppo/compare/v0.8.9...0.9.0) | ||
|
||
**Merged pull requests:** | ||
|
||
- \[inaka/levis\#84\] Added elipsis and comment as tokens. [\#6](https://github.com/inaka/aleppo/pull/6) ([jfacorro](https://github.com/jfacorro)) | ||
- \[inaka/elvis\#76\] Best effort to include files. [\#5](https://github.com/inaka/aleppo/pull/5) ([jfacorro](https://github.com/jfacorro)) | ||
- \[\#3\] Copy src/aleppo.app.src to ebin/aleppo.app on compile [\#4](https://github.com/inaka/aleppo/pull/4) ([jfacorro](https://github.com/jfacorro)) | ||
- Support token attributes as proplists [\#2](https://github.com/inaka/aleppo/pull/2) ([jfacorro](https://github.com/jfacorro)) | ||
- Added terminals ':=' and '=\>'. [\#1](https://github.com/inaka/aleppo/pull/1) ([jfacorro](https://github.com/jfacorro)) | ||
|
||
## [v0.8.9](https://github.com/inaka/aleppo/tree/v0.8.9) (2012-07-26) | ||
|
||
|
||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* |
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 |
---|---|---|
@@ -1,19 +1,43 @@ | ||
ERL=erl | ||
ERLC=erlc | ||
REBAR=./rebar | ||
GIT = git | ||
REBAR_VER = 2.6.1 | ||
|
||
PARSER=src/aleppo_parser | ||
## dialyzer | ||
PLT_FILE = ~/aleppo.plt | ||
PLT_APPS ?= kernel stdlib erts compiler crypto | ||
DIALYZER_OPTS ?= -Werror_handling -Wrace_conditions -Wunmatched_returns \ | ||
-Wunderspecs --verbose --fullpath -n | ||
|
||
all: $(PARSER).erl | ||
-mkdir -p ebin | ||
$(ERL) -make | ||
cp src/aleppo.app.src ebin/aleppo.app | ||
all: compile | ||
|
||
compile: | ||
@$(REBAR) compile | ||
|
||
$(PARSER).erl: $(PARSER).yrl | ||
$(ERLC) -o src/ src/aleppo_parser.yrl | ||
|
||
run: | ||
$(ERL) -pa ebin | ||
@$(REBAR) shell | ||
|
||
rebar_src: | ||
@rm -rf $(PWD)/rebar_src | ||
@$(GIT) clone git://github.com/rebar/rebar.git rebar_src | ||
@$(GIT) -C rebar_src checkout tags/$(REBAR_VER) | ||
@cd $(PWD)/rebar_src/; ./bootstrap | ||
@cp $(PWD)/rebar_src/rebar $(PWD) | ||
@rm -rf $(PWD)/rebar_src | ||
|
||
dialyze: all | ||
@[ -f $(PLT_FILE) ] || $(MAKE) plt | ||
@dialyzer --plt $(PLT_FILE) $(DIALYZER_OPTS) ebin || [ $$? -eq 2 ]; | ||
|
||
## In case you are missing a plt file for dialyzer, | ||
## you can run/adapt this command | ||
plt: | ||
@echo "Building PLT, may take a few minutes" | ||
@dialyzer --build_plt --output_plt $(PLT_FILE) --apps \ | ||
$(PLT_APPS) || [ $$? -eq 2 ]; | ||
|
||
clean: | ||
rm -fv ebin/*.beam | ||
rm -fv erl_crash.dump $(PARSER).erl | ||
@rm -fv erl_crash.dump | ||
@rm -f $(PLT_FILE) | ||
@$(REBAR) clean | ||
|
||
.PHONY: all compile run dialyze plt clean |
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,9 @@ | ||
%-*-Erlang-*- | ||
% vim: ft=erlang | ||
{erl_opts, [ | ||
debug_info, | ||
warn_unused_vars, | ||
warn_unused_import, | ||
warn_exported_vars, | ||
{platform_define, "^R|17", pre18} | ||
]}. |
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
%% -*- mode: erlang -*- | ||
{application, aleppo, | ||
[{description, "Aleppo: ALternative Erlang Pre-ProcessOr"}, | ||
{vsn, "0.9.5"}, | ||
{vsn, "0.9.6"}, | ||
{modules, [ | ||
]}, | ||
{applications, [kernel, stdlib]}, | ||
{registered, []}, | ||
{pkg_name, inaka_aleppo}, | ||
{maintainers, ["Inaka"]}, | ||
{maintainers, ["Inaka", "ErlyORM"]}, | ||
{licenses, []}, | ||
{links, [{"Github", "https://github.com/inaka/aleppo"}]}, | ||
{build_tools, ["make"]} | ||
{build_tools, ["make", "rebar"]} | ||
]}. |
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