From 62205dd23f0c181bc17069c3d38963b961893959 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 3 Jul 2021 15:49:15 +0200 Subject: [PATCH 1/2] include version --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 042ea01..b04d0d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: environment: LEIN_ROOT: "true" GRAALVM_HOME: /home/circleci/graalvm-ce-java11-21.1.0 - PUGET_PLATFORM: linux # used in release script + SPECTER_PLATFORM: linux # used in release script PUGET_TEST_ENV: native steps: - checkout @@ -95,7 +95,7 @@ jobs: xcode: "12.0.0" environment: GRAALVM_HOME: /Users/distiller/graalvm-ce-java11-21.1.0/Contents/Home - PUGET_PLATFORM: macos # used in release script + SPECTER_PLATFORM: macos # used in release script PUGET_TEST_ENV: native steps: - checkout From 34b56778e3b481c9b6cf489a0bc769c0e9a0da59 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 3 Jul 2021 15:51:23 +0200 Subject: [PATCH 2/2] README [skip ci] --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index efdf289..ccdb2ca 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ An native CLI that uses [Specter](https://github.com/redplanetlabs/specter) to t This CLI is compiled with GraalVM `native-image` and executed using [SCI](https://github.com/borkdude/sci). +## Download + +You can get pre-built binaries for macOS and linux under +[Releases](https://github.com/borkdude/specter-cli/releases). If your OS is not +yet supported, you can try [building](#build) the CLI yourself. + ## Usage Currently the CLI accepts one argument, `-e`, that represents a Clojure @@ -19,9 +25,7 @@ $ echo '{:a {:aa 1} :b {:ba -1 :bb 2}}' | ./specter -e '(transform [MAP-VALS MAP For now this is mostly a proof of concept to see if I could get Specter working within the contect of SCI and `native-image` (see -[this](https://github.com/borkdude/sci/issues/370) issue). If this is useful to -you, let me know. With enough feedback, I might make pre-built binaries -available. +[this](https://github.com/borkdude/sci/issues/370) issue). ## Implementation details