mirror of
https://github.com/cheat/cheat.git
synced 2024-10-31 21:21:02 +01:00
91f0d02de2
* feat: directory-scoped cheatpaths `cheat` now searches for a `.cheat` directory in the current working directory. If found, that directory is (temporarily) appended to the slice of cheatpaths. * makefile wip * fix: appeases linter Appeases linter (`go vet`) by adding quotation marks to YAML struct tags. * chore: modifies .gitignore Adds `tag` to `.gitignore` * feat: adds Makefile Adds a `Makefile` for managing build-related tasks. * chore: documents directory-local paths Adds documentation regarding the new directory-local cheatpath functionality. * chore: updates dependencies * chore: bumps version to 3.3.0 * chore: updates bin scripts - Removes `build_release.sh` - Places deprecation notice in `build_devel.sh`, as its purpose has been superceded by the `Makefile`.
16 lines
455 B
Bash
Executable File
16 lines
455 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# TODO: this script has been made obsolete by the Makefile, yet downstream
|
|
# package managers plausibly rely on it for compiling locally. Remove this file
|
|
# after downstream maintainers have had time to modify their packages to simply
|
|
# invoke `make` in the project root.
|
|
|
|
# locate the cheat project root
|
|
BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
APPDIR=$(readlink -f "$BINDIR/..")
|
|
|
|
# compile the executable
|
|
cd $APPDIR
|
|
|
|
make
|