aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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