-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from hackalog/minor_cleanups
Minor cleanups
- Loading branch information
Showing
5 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,25 +108,20 @@ debug: | |
@echo "\n\n======================" | ||
@echo "\nPlease include the contents $(DEBUG_FILE) when submitting an issue or support request.\n" | ||
@echo "======================\n\n" | ||
@echo "\n======================\n">> $(DEBUG_FILE) | ||
@echo "Git status" >> $(DEBUG_FILE) | ||
@echo "\n======================\n">> $(DEBUG_FILE) | ||
@echo "##\n## Git status\n##\n" > $(DEBUG_FILE) | ||
git status >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n##\n## git log\n##\n" >> $(DEBUG_FILE) | ||
git log -8 --graph --oneline --decorate --all >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "Github status" >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n##\n## Github remotes\n##\n" >> $(DEBUG_FILE) | ||
git remote -v >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n##\n## github SSH credentials\n##\n" >> $(DEBUG_FILE) | ||
ssh [email protected] 2>&1 | cat >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "Environment status" >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
@echo "\n##\n## Conda config\n##\n" >> $(DEBUG_FILE) | ||
$(CONDA_EXE) config --get >> $(DEBUG_FILE) | ||
@echo "\n##\n## Conda info\n##\n" >> $(DEBUG_FILE) | ||
$(CONDA_EXE) info >> $(DEBUG_FILE) | ||
@echo "\n##\n## Conda list\n##\n" >> $(DEBUG_FILE) | ||
$(CONDA_EXE) list >> $(DEBUG_FILE) | ||
@echo "\n======================\n" >> $(DEBUG_FILE) | ||
|
||
################################################################################# | ||
# PROJECT RULES # | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
ARCH := $(shell arch) | ||
CONDA_EXE ?= {{ cookiecutter.conda_path }} | ||
DEBUG_FILE := debug.txt | ||
MODULE_NAME := {{ cookiecutter.module_name }} | ||
TESTS_NO_CI = $(MODULE_NAME)/tests/no_ci | ||
PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | ||
PROJECT_NAME := {{ cookiecutter.repo_name }} | ||
PYTHON_INTERPRETER := python3 | ||
VIRTUALENV := {{ cookiecutter.virtualenv }} | ||
ARCH := $(shell $(PYTHON_INTERPRETER) -c "import platform; print(platform.platform())") | ||
VIRTUALENV := conda |