This repo contains a fork of Milen Dyankov's Java Christmas Tree written in Java using JBang!
The source code is formatted in the shape of a Christmas Tree. During execution it
- plays Jingle Bells
- prints its own code line by line
It is enough to clone the repo:
git clone https://github.com/maxandersen/Java-Christmas-Tree.git
You need JBang installed and no Java or at least Java 11+ properly configured. Then just
cd Java-Christmas-Tree/
jbang ct.java
ct.java
is a Java program with JBang instruction //DEPS
to fetch
necessary dependency. You can run it anywhere as long as you have jbang installed.
MIT