Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
synapticloop committed Dec 30, 2015
1 parent f19ad9d commit f6166a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: java
jdk:
- oraclejdk8
script: ./gradlew build
4 changes: 3 additions & 1 deletion src/main/java/synapticloop/h2zero/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import java.util.Map;

import synapticloop.h2zero.ant.H2ZeroTask;
import synapticloop.h2zero.util.SimpleLogger;
import synapticloop.h2zero.util.SimpleLogger.LoggerType;


/*
Expand Down Expand Up @@ -170,7 +172,7 @@ public static void main(String[] args) {
}
parseAndExecute(args);
} catch (IOException ex) {
System.err.println("FATAL!!! could neither find, nor read the file '" + USAGE_TXT + "' within the jar.");
SimpleLogger.logFatal(LoggerType.MAIN, "Could neither find, nor read the file '" + USAGE_TXT + "' within the jar.");
}
}
}
1 change: 1 addition & 0 deletions src/main/java/synapticloop/h2zero/util/SimpleLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

public class SimpleLogger {
public enum LoggerType {
MAIN,
OPTIONS,
OPTIONS_VALIDATOR,
GENERATORS,
Expand Down

0 comments on commit f6166a3

Please sign in to comment.