-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check btllib installation in ntLink makefile (#57)
* Add checks for btllib installation in ntLink * python3 check for btllib
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,7 @@ help: | |
@echo "" | ||
|
||
scaffold: check_params \ | ||
check_install \ | ||
ntLink_graph \ | ||
abyss_scaffold | ||
|
||
|
@@ -151,12 +152,20 @@ ifeq ($(target), None) | |
$(error ERROR: Must set target) | ||
endif | ||
|
||
check_install: | ||
ifeq ($(shell command -v indexlr),) | ||
$(error ERROR: indexlr not found. Please ensure btllib is installed) | ||
endif | ||
ifneq ($(shell command -v 'python3 -c "import btllib"'),) | ||
$(error ERROR: btllib not found. Please ensure btllib is installed) | ||
endif | ||
|
||
version: | ||
@echo "ntLink v1.3.1" | ||
@echo "Written by Lauren Coombe ([email protected])" | ||
|
||
|
||
.PHONY: help scaffold version check_params clean pair gap_fill | ||
.PHONY: help scaffold version check_params clean pair gap_fill check_install | ||
.DELETE_ON_ERROR: | ||
.SECONDARY: | ||
|
||
|