LovePackaging/config.sh

57 lines
2.0 KiB
Bash
Raw Normal View History

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)
copyrightYear="2014"
# 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)
version="0.1"
###### 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.)
includes="$(pwd)/includes"
# 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
# Modified love executables (optional)
# (The default values are where the default exe's will be extracted)
win32exe="$win32Dir/love-0.9.1-win32/love.exe"
win64exe="$win64Dir/love-0.9.1-win64/love.exe"
# 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?
removeOld=false
# Allow overwrite? NOT IMPLEMENTED
# If this is false, LovePackaging will quit if you try to build with the same version number twice.
allowOverwrite=false
2014-12-30 05:06:24 +00:00
# Auto-number builds?
# 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.)
autoNumberBuilds=false
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"