Add automated build?

This commit is contained in:
shru 2018-12-14 17:14:23 -05:00
parent 510be9a9a1
commit 0b69060379
2 changed files with 36 additions and 0 deletions

34
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,34 @@
image: shru/arch-love-release:heavy
variables:
ITCHIO_USER: shru
ITCHIO_GAME: cave-story-randomizer
CHANNEL: $CI_COMMIT_REF_NAME
stages:
- build
build-depoy:
stage: build
script:
# I. Build
- cd src
# Overwrite dev.lua with prod.lua
- mv parameters/prod.lua parameters/dev.lua
# Remove excluded files, once love-release is fixed, this can be removed.
- find -name *.ase -delete
- love-release -W # -M (Skip MacOS for now, since broken after Love 11.)
# II. Release
- cd releases
- FILE=$(ls *-win64.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win64-$CHANNEL"
- FILE=$(ls *-win32.zip) ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:win32-$CHANNEL"
# - FILE=$(ls *-macosx.zip) ; zip -ur "$FILE" "Cave Story Randomizer.app" ; butler push "$FILE" "$ITCHIO_USER/$ITCHIO_GAME:osx-$CHANNEL"
# # Workaround for issue where butler renames *.love to *.zip.
# - FILE=$(ls *.love) ; mkdir love-file-dir ; mv "$FILE" love-file-dir
# - butler push love-file-dir "$ITCHIO_USER/$ITCHIO_GAME:linux-$CHANNEL"
cache:
key: rocks
paths:
- src/rocks

View File

@ -1,3 +1,5 @@
See this too: https://www.cavestory.org/guides/basicmodding/guide/tscnotes.htm
Doukutsu Monogatari - TSC notes (aka Cave Story)
by Kapow - 2006 April 24
additions by ShInInG PhAnToM - 2007 June 05