2014-11-20 03:13:49 +00:00
|
|
|
# The name of the resulting executables.
|
2014-11-11 08:12:52 +00:00
|
|
|
packageName="LovePackagingExample"
|
2014-12-30 03:57:23 +00:00
|
|
|
# User-friendly package name.
|
|
|
|
friendlyPackageName="$packageName"
|
2014-11-20 08:23:56 +00:00
|
|
|
# Who made this? (Yes, change this to your name.)
|
|
|
|
author="Guard13007"
|
2014-12-30 03:57:23 +00:00
|
|
|
# Copyright year (ex 2014-2015 or 2015)
|
2016-05-04 17:15:48 +00:00
|
|
|
copyrightYear="2016"
|
2014-12-30 03:57:23 +00:00
|
|
|
# A unique identifier for your package.
|
|
|
|
# (It should be fine to leave this as its default.)
|
|
|
|
identifier="com.$author.$packageName"
|
2014-11-20 08:23:56 +00:00
|
|
|
# Current version (of your program)
|
2015-12-14 02:49:22 +00:00
|
|
|
version="0.1.0"
|
2014-11-20 08:23:56 +00:00
|
|
|
|
|
|
|
###### Important! ONLY USE ABSOLUATE PATHS ######
|
2014-11-20 03:13:49 +00:00
|
|
|
# Where to place the resulting executables.
|
2014-11-20 07:07:38 +00:00
|
|
|
outputDir="$(pwd)/builds"
|
2014-11-11 08:12:52 +00:00
|
|
|
# Where the source code is. (This should be where your main.lua file is.)
|
|
|
|
sourceDir="$(pwd)/src"
|
|
|
|
# Files to include in ZIP packages. (ReadMe's, licenses, etc.)
|
2015-12-14 02:46:03 +00:00
|
|
|
includes="$(pwd)/build-includes"
|
2014-11-11 08:12:52 +00:00
|
|
|
|
|
|
|
# Where unzipped executables to make packages out of will be kept
|
2014-12-30 03:39:58 +00:00
|
|
|
# (This is also where LOVE executables will be kept before modifications to make your packages)
|
2014-11-20 07:07:38 +00:00
|
|
|
win32Dir="$outputDir/win32src"
|
|
|
|
win64Dir="$outputDir/win64src"
|
|
|
|
osx10Dir="$outputDir/osx10src"
|
2014-11-11 08:12:52 +00:00
|
|
|
|
2016-05-04 17:15:48 +00:00
|
|
|
# Specify what version of love to use
|
|
|
|
loveVersion="0.10.1"
|
2015-04-30 21:07:58 +00:00
|
|
|
|
2015-02-09 18:54:28 +00:00
|
|
|
# Modified love executables (optional)
|
|
|
|
# (The default values are where the default exe's will be extracted)
|
2015-08-24 08:25:04 +00:00
|
|
|
win32exe="$win32Dir/love-$loveVersion-win32/love.exe"
|
|
|
|
win64exe="$win64Dir/love-$loveVersion-win64/love.exe"
|
2015-02-09 18:54:28 +00:00
|
|
|
|
2015-02-09 19:17:25 +00:00
|
|
|
# Mac icns files for package icon
|
|
|
|
# (It's best to just specify the same file for both.
|
|
|
|
# I don't think both are needed, but I am not very familiar with the Mac system.)
|
|
|
|
osxIconsDirectory="$osx10Dir/love.app/Contents/Resources"
|
|
|
|
osxFileIcon="LoveDocument.icns"
|
|
|
|
osxBundleIcon="Love.icns"
|
|
|
|
|
2014-11-20 08:23:56 +00:00
|
|
|
# Remove old packages?
|
2016-05-04 17:15:48 +00:00
|
|
|
removeOld=true
|
2014-11-20 08:23:56 +00:00
|
|
|
|
2014-11-20 08:54:02 +00:00
|
|
|
# Allow overwrite? NOT IMPLEMENTED
|
|
|
|
# If this is false, LovePackaging will quit if you try to build with the same version number twice.
|
|
|
|
allowOverwrite=false
|
2016-05-04 17:15:48 +00:00
|
|
|
#NOTE to self: if autoNumberBuilds, this setting doesn't matter
|
2014-11-20 08:54:02 +00:00
|
|
|
|
2014-12-30 05:06:24 +00:00
|
|
|
# Auto-number builds?
|
2014-11-20 08:54:02 +00:00
|
|
|
# An "-buildN" will be added to the end of ZIP package names, with N being the Nth time this project was built.
|
2014-12-30 05:06:24 +00:00
|
|
|
# (To do this, a build.number file is stored in $outputDir, so watch out for that.)
|
2016-05-04 17:15:48 +00:00
|
|
|
autoNumberBuilds=true
|
2014-11-20 08:54:02 +00:00
|
|
|
|
2015-05-01 22:39:53 +00:00
|
|
|
# Place latest builds in builds/latest?
|
|
|
|
# (This is a copy, not a move.)
|
2016-05-04 17:15:48 +00:00
|
|
|
latestBuilds=true
|
2015-05-01 22:39:53 +00:00
|
|
|
latestBuildsDir="$outputDir/latest"
|
|
|
|
|
2014-11-20 21:06:38 +00:00
|
|
|
# Use curl or wget?
|
2014-12-30 03:39:58 +00:00
|
|
|
# (One of these lines should be commented out, the other not)
|
2014-11-20 21:12:35 +00:00
|
|
|
#download="curl -o"
|
|
|
|
download="wget --progress=bar:force -O"
|