-
Notifications
You must be signed in to change notification settings - Fork 62
/
.Makefile.after
30 lines (26 loc) · 1.1 KB
/
.Makefile.after
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- mode: makefile; -*-
####################################################################################
# .Makefile.after (local hook for GNU make, extending Makefile)
# Time-stamp: <Thu 2016-03-03 14:18 svarrette>
# __ __ _ __ _ _ __ _
# | \/ | __ _| | _____ / _(_) | ___ __ _ / _| |_ ___ _ __
# | |\/| |/ _` | |/ / _ \ |_| | |/ _ \ / _` | |_| __/ _ \ '__|
# _| | | | (_| | < __/ _| | | __/| (_| | _| || __/ |
# (_)_| |_|\__,_|_|\_\___|_| |_|_|\___(_)__,_|_| \__\___|_|
###################################################################################
INSTALL_SCRIPT=./install.sh
BATS=$(shell which bats 2>/dev/null)
.PHONY: tests
install: setup
$(INSTALL_SCRIPT) --all --dry-run
uninstall:
$(INSTALL_SCRIPT) --delete --all --dry-run
ifeq ($(BATS),)
tests:
@echo "the Unit tests of Falkor's dotfiles rely on Bats which does not seem present on your system"
@echo "See https://github.com/sstephenson/bats for details"
@echo "installation notes can be found in tests/setup_bats.sh"
else
tests:
$(BATS) tests
endif