diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6dd29b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin/ \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..18e91fe --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +BINDIR := bin +SRCDIR := src +TARGETS := $(patsubst $(SRCDIR)/%.sh,$(BINDIR)/%,$(wildcard $(SRCDIR)/*.sh)) + +all: $(TARGETS) + +$(BINDIR)/%: $(SRCDIR)/%.sh + mkdir -p $(BINDIR) + docker run -it -v `pwd`/$(SRCDIR):/src -v `pwd`/$(BINDIR):/out alpine /bin/ash -c '/src/$(