Skip to content

liquidz/clj-xmas

Repository files navigation

clj-xmas

xmas

Usage

clojure -Sdeps '{:deps {com.github.liquidz/clj-xmas {:git/tag "1.0.0" :sha "c399dd4"}}}' -M -m xmas.core

Clojure CLI Tools (1.10.3.933 or later)

# Install as a tool
clojure -Ttools install com.github.liquidz/clj-xmas '{:git/tag "1.0.0"}' :as merry

# Plant a tree
clojure -Tmerry xmas

# Uninstall
clojure -Ttools remove :tool merry

Options

Short Long Default Description

-s

--size

5

Tree size

-n

--number

1

How many trees

-a

--animation

false

Animation

-i

--interval

1

Animation interval (unit: Sec)

Native image

  • Run make native-image

    • GraalVM is downloaded to /tmp/.graalvm automatically.

License

Copyright © 2021 Masashi Iizuka

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.