mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-22 21:26:45 +00:00
Add automated build?
This commit is contained in:
parent
510be9a9a1
commit
0b69060379
34
.gitlab-ci.yml
Normal file
34
.gitlab-ci.yml
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue