Import, build and run it with your favourite Java IDE or just execute the following commands.
$ git clone https://github.com/andrebauer/traffic-lights.git
$ cd traffic-lights/src
$ javac com/traffic_lights/Main.java
$ java com.traffic_lights.Main
You can create the documentation in the command line with the following command.
$ javadoc -d doc -author -private -sourcepath src -subpackages com.traffic_lights
You can browse the generated documentation stating at doc/index.html
, which
is the documentation root.
$ firefox doc/index.html