Skip to content

Commit

Permalink
Merge 4c6ac07 into c72a7af
Browse files Browse the repository at this point in the history
  • Loading branch information
ferraith committed Jul 29, 2018
2 parents c72a7af + 4c6ac07 commit a6936e7
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ install:
script:
# run unit tests
- python setup.py test --addopts "--cov=setuptools_antlr --cov-report html"
# build example project
- pushd example
# build foobar sample project
- pushd samples/foobar
- python setup.py antlr bdist_wheel
- popd

Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.3.0] - 2018-07-29
### Changed
- Folder structure of project.
### Removed
- Filtering of root-level grammars.

## [0.2.2] - 2018-07-25
### Fixed
- Faulty detection of grammar rule as import statement.

## [0.2.1] - 2018-06-15
### Fixed
- Faulty detection of import statements.
Expand All @@ -14,6 +24,8 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Changed
- Use package source directory as default output directory.

[Unreleased]: https://github.com/ferraith/setuptools-antlr/compare/0.2.1...HEAD
[Unreleased]: https://github.com/ferraith/setuptools-antlr/compare/0.3.0...HEAD
[0.3.0]: https://github.com/ferraith/setuptools-antlr/compare/0.2.2...0.3.0
[0.2.2]: https://github.com/ferraith/setuptools-antlr/compare/0.2.1...0.2.2
[0.2.1]: https://github.com/ferraith/setuptools-antlr/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/ferraith/setuptools-antlr/compare/0.1.2...0.2.0
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ Apart from passing options on the command line it's also possible to add a dedic
A reference configuration is provided in the ``resources`` directory.

Example
*******
Sample
******

Alongside the ``setuptools-antlr`` source code a example project called ``foobar`` is provided in the ``example`` directory. This example consists of the two ANTLR grammars ``Foo`` and ``Bar``. During the execution of ``setuptools-antlr`` two Python packages will be generated into the ``foobar`` package directory containing a parser for each grammar.
Alongside the ``setuptools-antlr`` source code a sample project called ``foobar`` is provided in the ``samples`` directory. This sample consists of the two ANTLR grammars ``Foo`` and ``Bar``. During the execution of ``setuptools-antlr`` two Python packages will be generated into the ``foobar`` package directory containing a parser for each grammar.

To generate parsers for both grammars and build a ``foobar`` wheel package execute the following command:

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a6936e7

Please sign in to comment.