A command line tool to run SQL queries on .janno (and arbitrary .csv and .tsv) files. This is an adjusted version and hard fork of the qsh package.
Detailed user documentation can be found on our website.
To install the development version of qjanno you can follow these steps:
- Install the Haskell build tool Stack
- Clone this repository
- Execute
stack install
inside the repository to build the tool and copy the executables to~/.local/bin
(which you may want to add to your path). This will install the compiler and all dependencies into folders that won't interfere with any installation you might already have. - To run the tests, execute
stack test
inside the repository to build and run tests.
qjanno includes a set of golden tests defined by input data files, shell scripts and output files in test/tests
.
The Github Actions script in .github/workflows/release.yml
registers a new draft release and automatically builds and uploads qjanno binaries when a new Git tag with the prefix v*
is pushed.
# locally register a new tag (e.g. 0.3.1)
git tag -a v0.3.1 -m "see CHANGELOG.md"
# push tag
git push origin v0.3.1
In case of a failing build delete the tag and the release draft on Github and then delete the tag locally with
git tag -d v0.3.1
before rerunning the procedure above.