Skip to content

Commit b1176a9

Browse files
committed
0.15.5 - fix jparse_code.jar not being runnable, print help message if jar is run with no arguments.
1 parent bb9f2d6 commit b1176a9

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

CHANGELOG.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
44

55

66
--------
7-
### [0.15.4](N/A) - 2018-09-13
7+
### [0.15.5](N/A) - 2018-09-14
8+
#### Changed
9+
* `ParserWorkFlow` returns the `-help` message if no arguments are given when run
10+
11+
#### Fixed
12+
* `bin/jparse_code.jar` wasn't properly compiled as a runnable jar
13+
14+
15+
--------
16+
### [0.15.4](https://github.com/TeamworkGuy2/JParseCode/commit/bb9f2d6d58967c622505453a97933a7c895b2630) - 2018-09-13
817
#### Added
918
* Annotations to parameter signatures (with basic parameter annotation parsing added to `MethodParametersParser.extractParamsFromSignature()`)
1019
* Documented DataTypeExtractor methods
@@ -19,7 +28,7 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
1928

2029
#### Fixed
2130
* `CsBlockParser.readClassIdentifierAndExtends()` was incorrectly trying to parse `new {` object initializer blocks as class declarations
22-
* DataTypeExtractor was reversing the parameter order of multi-paremeter generic types
31+
* `DataTypeExtractor` was reversing the parameter order of multi-paremeter generic types
2332

2433

2534
--------

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
JParseCode
22
==============
3-
version: 0.15.4
3+
version: 0.15.5
44

55
In progress C#/Java/TypeScript parser tools built atop [JTextParser](https://github.com/TeamworkGuy2/JTextParser), [Jackson](https://github.com/FasterXML/jackson-core/) (core, databind, annotations) and half a dozen other utility libraries.
66

bin/jparse_code-with-tests.jar

118 Bytes
Binary file not shown.

bin/jparse_code.jar

22 Bytes
Binary file not shown.

package-lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version" : "0.15.4",
2+
"version" : "0.15.5",
33
"name" : "jparse-code",
44
"description" : "An in-progress suite of parsing/transpilation tools for C#, Java, and TypeScript code. Generates simple JSON ASTs.",
55
"homepage" : "https://github.com/TeamworkGuy2/JParseCode",

src/twg2/parser/workflow/ParserWorkflow.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public static void write(Map<DestinationInfo, List<CodeFileParsed.Resolved<Block
369369

370370

371371
public static ParserWorkflow parseArgs(String[] args) {
372-
if(Arrays.asList("-help", "--help", "-h").contains(args[0]) || args.length == 0) {
372+
if(args.length == 0 || Arrays.asList("-help", "--help", "-h").contains(args[0])) {
373373
System.out.println("An in-progress suite of parsing tools for C#, Java, and TypeScript source code.\n" +
374374
"Used to create basic ASTs containing class signatures, fields, and methods. (source: https://github.com/TeamworkGuy2/JParserTools)\n" +
375375
"example command:\n" +

0 commit comments

Comments
 (0)