Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liquidz/clj-xmas
:christmas_tree: :christmas_tree: :christmas_tree:
https://github.com/liquidz/clj-xmas
christmas christmas-tree clojure xmas xmas-tree
Last synced: 3 months ago
JSON representation
:christmas_tree: :christmas_tree: :christmas_tree:
- Host: GitHub
- URL: https://github.com/liquidz/clj-xmas
- Owner: liquidz
- License: other
- Created: 2018-11-28T09:02:13.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T21:32:53.000Z (about 3 years ago)
- Last Synced: 2024-10-18T06:19:57.784Z (4 months ago)
- Topics: christmas, christmas-tree, clojure, xmas, xmas-tree
- Language: Clojure
- Homepage:
- Size: 36.1 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= clj-xmas
image:xmas.png[]
== Usage
[source,clojure]
----
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)
[source,sh]
----
# 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
[cols="1a,1a,1a,7a"]
|===
| 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 https://twitter.com/uochan[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.