diff --git a/makefile b/makefile deleted file mode 100644 index 61ed99b..0000000 --- a/makefile +++ /dev/null @@ -1,26 +0,0 @@ -.DFAULT_GOAL := help # Sets default action to be help - -define PRINT_HELP_PYSCRIPT # start of Python section -import re, sys - -output = [] -# Loop through the lines in this file -for line in sys.stdin: - # if the line has a command and a comment start with - # two pound signs, add it to the output - match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line) - if match: - target, help = match.groups() - output.append("%-10s %s" % (target, help)) -# Sort the output in alphanumeric order -output.sort() -# Print the help result -print('\n'.join(output)) -endef -export PRINT_HELP_PYSCRIPT # End of python section - -help: - @python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST) - -env: ## Activate the virtual environment - pipenv shell