/java-skeleton

Project skeleton for Java.

Primary LanguageShellMIT LicenseMIT

JavaSkeleton

Setup

Install project dependencies:

script/setup.sh

Usage

Run the main program:

bin/js

Run the main program inside the container:

docker run -it --rm funtimecoding/java-skeleton

Development

Configure Git on Windows before cloning:

git config --global core.autocrlf input

Install NFS plug-in for Vagrant on Windows:

vagrant plugin install vagrant-winnfsd

Create the development virtual machine on Linux and Darwin:

script/vagrant/create.sh

Create the development virtual machine on Windows:

script\vagrant\create.bat

Run tests, style check and metrics:

script/test.sh [--help]
script/check.sh [--help]
script/measure.sh [--help]

Build project:

script/build.sh

Install Debian package:

sudo dpkg --install build/java-skeleton_0.1.0-1_all.deb

Show files the package installed:

dpkg-query --listfiles java-skeleton