conscious-puppet / expense-management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-requisites

  • Java 1.8/1.11/1.15
  • Maven

How to run the code

We have provided scripts to execute the code.

Use run.sh if you are Linux/Unix/macOS Operating systems and run.bat if you are on Windows.

Internally both the scripts run the following commands

  • mvn clean install -DskipTests assembly:single -q - This will create a jar file geektrust.jar in the target folder.
  • java -jar target/geektrust.jar sample_input/input1.txt - This will execute the jar file passing in the sample input file as the command line argument

Use the pom.xml provided along with this project. Please change the main class entry (com.example.geektrust.Main) in the pom.xml if your main class has changed.

How to execute the unit tests

mvn clean test will execute the unit test cases.

Help

You can refer our help documents here You can read build instructions here

About

License:MIT License


Languages

Language:Java 98.1%Language:Shell 1.0%Language:Batchfile 1.0%