Skip to content

Commit

Permalink
prepare 1.3.0 release (#283)
Browse files Browse the repository at this point in the history
* prepare 1.3.0 release
* use compiletime from @andyli
  • Loading branch information
AlexHaxe authored Dec 5, 2018
1 parent 4c0e90f commit 043e1d5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ install:
- haxelib git hxnodejs https://github.com/HaxeFoundation/hxnodejs --never
- haxelib git mcover https://github.com/AlexHaxe/mcover add_lcov_printclient src
- haxelib git munit https://github.com/massiveinteractive/MassiveUnit master src
- haxelib git compiletime https://github.com/andyli/compiletime haxe4 src
- haxelib install json2object
- haxelib install mlib
- haxelib install mconsole
- haxelib install compiletime

script:
- haxe buildAll.hxml
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## dev branch / next version (1.x.x)

## version 1.3.0 (2018-12-05)

- **Breaking Change** replaced `whitespace.openingParenPolicy` and `whitespace.closingParenPolicy` settings with `whitespace.parenConfig` [#282](https://github.com/HaxeCheckstyle/haxe-formatter/issues/282)
- **Breaking Change** replaced `whitespace.openingBracePolicy` `whitespace.closingBracePolicy`, `whitespace.objectOpeningBracePolicy` and `whitespace.objectClosingBracePolicy` settings with `whitespace.bracesConfig` [#282](https://github.com/HaxeCheckstyle/haxe-formatter/issues/282)
- Added check to prevent tokentree parser issues from deleting code [#281](https://github.com/HaxeCheckstyle/haxe-formatter/issues/281)
Expand Down
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"style"
],
"description": "A code formatter for Haxe",
"version": "1.2.0",
"releasenote": "reworked indentation and empty lines options - see CHANGELOG for details.",
"version": "1.3.0",
"releasenote": "new whitespace options for parens and braces - update your hxformat config - see CHANGELOG for details.",
"contributors": [
"AlexHaxe",
"Gama11"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haxe-formatter",
"version": "1.2.0",
"version": "1.3.0",
"description": "A code formatter for Haxe",
"repository": {
"type": "git",
Expand Down
17 changes: 4 additions & 13 deletions test/TestSuite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,9 @@ class TestSuite extends massive.munit.TestSuite {
add(FormatStatsTest);
}

add(EmptyLinesTestCases);
add(IndentationTestCases);
add(LineEndsTestCases);
add(MissingTestCases);
add(Other);
add(SameLineTestCases);
add(WhitespaceTestCases);
add(WrappingTestCases);
// CompileTime.getAllClasses uses Context.onMacroContextReused which was removed from Haxe 4 (see https://github.com/HaxeFoundation/haxe/issues/5746)
// var tests = CompileTime.getAllClasses(GoldBaseTest);
// for (testClass in tests) {
// add(testClass);
// }
var tests = CompileTime.getAllClasses(GoldBaseTest);
for (testClass in tests) {
add(testClass);
}
}
}

0 comments on commit 043e1d5

Please sign in to comment.