diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..48f1c4e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,8 @@ +image: thallian/love-release + +build: + script: + - make docker + artifacts: + paths: + - build diff --git a/Makefile b/Makefile index 8eb2650..da8feb5 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,17 @@ LOVE := love NAME := ds_alpha VERSION := 0.0.1 +CURRENTDIR := $(realpath .) SRCDIR := src BUILDDIR := build .PHONY : all all : run +.PHONY : docker +docker : + docker run --env-file=config --volume $(CURRENTDIR):/var/lib/builder/workspace thallian/love-release + $(BUILDDIR): mkdir -p $(BUILDDIR) diff --git a/config b/config new file mode 100644 index 0000000..9a85f31 --- /dev/null +++ b/config @@ -0,0 +1,8 @@ +PROJECT_AUTHOR=Sebastian Hugentobler +PROJECT_EMAIL=sebastian@vanwa.ch +PROJECT_TITLE=Streuner Game +PROJECT_VERSION=0.0.0 +PROJECT_PACKAGE=streuner +PROJECT_UTI=ch.vanwa.streuner +PROJECT_DESCRIPTION=A Game About a Band +PROJECT_URL=https://gitlab.com/thallian/streuner-game