aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-11-14 20:33:34 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2020-11-14 20:33:34 +0100
commit4ba33ceb73b2c8f4cc747c32786eaa9680384d53 (patch)
treeca958b974a7c6090e44f5d1dd3c8f5c095ef3ce7 /Makefile
parentc074c0d51a6e3c7924a2ddea3ea418729564a252 (diff)
downloadg-4ba33ceb73b2c8f4cc747c32786eaa9680384d53.tar.gz
g-4ba33ceb73b2c8f4cc747c32786eaa9680384d53.zip
Added some compatibilities with zsh
The work is half-done, but I also needed some of the other fixes entangled in this whole mess of a commit. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e086ae1..130d599 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,15 @@
test: git-validation shellcheck unit-test
.PHONY: unit-test
-unit-test:
+unit-test: build-image bash-test
+
+.PHONY: build-image
+build-image:
@docker build -t mssola/g:latest .
+
+.PHONY: bash-test
+bash-test:
+ @echo -e "BASH\ttest.sh"
@docker run --rm mssola/g:latest bash test.sh
.PHONY: git-validation