From 21c6a9b2ba1c3ffc957731bafda1386f258eb4bb Mon Sep 17 00:00:00 2001 From: Sandy Currier Date: Thu, 29 Feb 2024 11:58:12 -0500 Subject: [PATCH] fixing missing choices when choice is not a dictionary --- .gitignore | 16 ++++++++++++++++ Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3409fdb --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +# Emacs +*~ +.#* +\#*\# +TAGS + +# Mac +.DS_Store + +# pytest +__pycache__ +.pytest_cache + +# Ignore python local install build symlinks et al +.venv +poetry.lock diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8e07f61 --- /dev/null +++ b/Makefile @@ -0,0 +1,38 @@ +# Ancient Makefile implicit rule disabler +(%): % +%:: %,v +%:: RCS/%,v +%:: s.% +%:: SCCS/s.% +%.out: % +%.c: %.w %.ch +%.tex: %.w %.ch +%.mk: + +# Variables +DOC_DIR := docs +SRC_DIR := . +TEST_DIR := tests + +# Use colors for errors and warnings when in an interactive terminal +INTERACTIVE := $(shell test -t 0 && echo 1) +ifdef INTERACTIVE + RED := \033[0;31m + END := \033[0m +else + RED := + END := +endif + +# Let there be no default target +.PHONY: default +default: + @echo "${RED}There is no default make target.${END} Specify one of:" + @echo "etags - constructs an emacs tags table" + @echo "" + @echo "See ${BUILD_DIR}/README.md for more details and info" + +# emacs tags (for javascript need GNU's universal-ctag package) +.PHONY: etags +etags: + /opt/homebrew/bin/ctags -e -R