From d1ecbc14c1d78eddb8ca486b6c8e3a8819404dae Mon Sep 17 00:00:00 2001 From: Xuechun Hua <122423248+XuechunHHH@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:33:41 -0700 Subject: [PATCH] Revert "add partiql-cli" This reverts commit a8ecb488b49ad98bbfb18617c5f4c28fc53b833b. --- README.md | 45 +++++---------------------------------------- partiql-cli.rb | 19 ------------------- 2 files changed, 5 insertions(+), 59 deletions(-) delete mode 100644 partiql-cli.rb diff --git a/README.md b/README.md index bb51026..847260c 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,11 @@ -[![License](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/partiql/homebrew-partiql/blob/main/LICENSE) -[![Homebrew](https://img.shields.io/badge/Homebrew-Install-brightgreen.svg)](https://github.com/partiql/homebrew-partiql) -## Homebrew PartiQL +## My Project -Welcome to the official HOmebrew Tap for PartiQL applications. +TODO: Fill this README out! -This repository is managed by the [PartiQL](https://github.com/partiql) team and contains Homebrew formulas for easy installation and management of PartiQL owned applications on macOS and Linux systems. - -### Installation -To tap this repository and make the formulas available on your system, run: - -```bash -brew tap partiql/partiql -``` - -### Usage -Once the tap is added, you can install PartiQL applications using the `brew install` command. For example: - -```bash -brew install partiql-tool # Replace 'partiql-tool' with the actual formula name e.g. 'partiql-cli' -``` - -### Available Formulas -This tap includes the following Homebrew formulas: - -+ `partiql-cli`: [partiql-cli](https://github.com/partiql/partiql-lang-kotlin/wiki/Command-Line-Tutorial) is an interactive shell, or Read Evaluate Print Loop (REPL), that allows users to write and evaluate PartiQL queries. - - Install `partiql-cli` using the following Homebrew command: - ```bash - brew install partiql-cli - ``` - This command fetches and installs the latest version of `partiql-cli`, setting up all necessary dependencies on your macOS or Linux system. - - After installation, you can start using command: - ```bash - partiql - ``` - For a comprehensive list of options and more detailed help, you can use the help command: - ``` - partiql --help - ``` - This will display usage information, command line options and guidance to help you get started. +Be sure to: +* Change the title in this README +* Edit your repository description on GitHub ## Security diff --git a/partiql-cli.rb b/partiql-cli.rb deleted file mode 100644 index 7cf2aee..0000000 --- a/partiql-cli.rb +++ /dev/null @@ -1,19 +0,0 @@ -class PartiqlCli < Formula - desc "PartiQL CLI." - homepage "https://partiql.org/" - url "https://github.com/partiql/partiql-lang-kotlin/releases/download/v0.14.5/partiql-cli-0.14.5.tgz" - sha256 "be7475d6a5dea877c7821f96a550d94fef6866e3522c15ed8c68e5eaf7f20328" - license "Apache-2.0" - depends_on "openjdk" - - def install - libexec.install Dir["*"] - (bin/"partiql").write <<~EOS - #!/bin/bash - APP_HOME="#{libexec}" - CLASSPATH=$(echo $APP_HOME/lib/*.jar | tr ' ' ':') - JAVA_CMD="java" - exec "$JAVA_CMD" -classpath "$CLASSPATH" org.partiql.cli.Main "$@" - EOS - end -end \ No newline at end of file