Skip to content

OpenGen/GenSQL.publish

Repository files navigation

GenSQL.publish

tests linter

Usage

java -jar gensql.publish.jar --help

Developing

Setup

pnpm install
clojure -T:build build

Running locally from the REPL

In development you can consider including -A:dev when launching the REPL. This will add utility functions to user namespace that facilitate reloading code automatically after changes.

❯ clj -A:dev
Clojure 1.11.1
user=> (go)
Initializing system...done!
Starting system...done!

Running locally from the command-line

clojure -M:run --help

Including SPPL support

gensql.gpm.sppl is not included as a dependency by default. If you intend to use SPPL models you will want to provide the sppl alias when either launching the REPL or running build commands.

If you intend to query SPPL models you will need to have a Python environment with SPPL installed into it in such a way that libpython-clj can find it. The easiest way to use that is to start the gensql.gpm.sppl Nix development shell before running publish.

nix develop github:OpenGen/GenSQL.gpm.sppl -c java -jar gensql.publish.jar --help
nix develop github:OpenGen/GenSQL.gpm.sppl -c clj -A:dev:sppl

Building a JAR file

Running the following command will produce a JAR file the ./target directory.

clojure -T:build:sppl uberjar

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •