Skip to content

Lein template for a clj cli app using cli-matic and lein native-image

Notifications You must be signed in to change notification settings

tggreene/lein-native-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-native-cmd

A simple template for making cli apps with clojure and compiling with graalvm.

Usage

A leiningen template is generated from this project with lein-create-template:

lein new clj-native-cmd my-cli

You should be able to build a native-image using:

lein native-image

You will need native-image available on your path.

Tested with:

Clojure 1.9.0
GraalVM Version 19.2.1 CE
Darwin Kernel Version 18.0.0
MacOS 10.14 Mojave

N.B. Do not upgrade to clojure 1.10 with this template until this bug is fixed you will not be able to create a native binary with graalvm.

Some further graalvm and clojure related links:

License

Copyright © 2019

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.

About

Lein template for a clj cli app using cli-matic and lein native-image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published