From 0b0f82fbef6141b698a20b4d6f4b425309f8f713 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 20 Jun 2016 18:35:17 +0200 Subject: [PATCH] add gitlab ci instructions --- .gitlab-ci.yml | 8 ++++++++ Makefile | 5 +++++ config | 8 ++++++++ 3 files changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 config 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