Changeset - 4dc14a1f8128
[Not reviewed]
default
0 2 0
Jason Maltzen - 5 years ago 2019-11-02 11:37:44
jason@hiddenachievement.com
Move x86 outputs into x86 build folder. Use x86 executable on Windows because GTK# doesn't have a 64-bit installer.
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
DesertPaintLab.csproj
Show inline comments
...
 
@@ -16,45 +16,45 @@
 
    <UpdateMode>Foreground</UpdateMode>
 
    <UpdateInterval>7</UpdateInterval>
 
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
 
    <UpdatePeriodically>false</UpdatePeriodically>
 
    <UpdateRequired>false</UpdateRequired>
 
    <MapFileExtensions>true</MapFileExtensions>
 
    <AutorunEnabled>true</AutorunEnabled>
 
    <ApplicationRevision>0</ApplicationRevision>
 
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
 
    <UseApplicationTrust>false</UseApplicationTrust>
 
    <BootstrapperEnabled>true</BootstrapperEnabled>
 
  </PropertyGroup>
 
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
 
    <DebugSymbols>true</DebugSymbols>
 
    <DebugType>full</DebugType>
 
    <Optimize>false</Optimize>
 
    <OutputPath>bin\Debug</OutputPath>
 
    <OutputPath>bin\x86\Debug</OutputPath>
 
    <DefineConstants>DEBUG</DefineConstants>
 
    <ErrorReport>prompt</ErrorReport>
 
    <WarningLevel>4</WarningLevel>
 
    <PlatformTarget>x86</PlatformTarget>
 
    <ConsolePause>false</ConsolePause>
 
    <additionalargs>/unsafe</additionalargs>
 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 
  </PropertyGroup>
 
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
 
    <DebugType>none</DebugType>
 
    <Optimize>false</Optimize>
 
    <OutputPath>bin\Release</OutputPath>
 
    <OutputPath>bin\x86\Release</OutputPath>
 
    <ErrorReport>prompt</ErrorReport>
 
    <WarningLevel>4</WarningLevel>
 
    <PlatformTarget>x86</PlatformTarget>
 
    <ConsolePause>false</ConsolePause>
 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 
  </PropertyGroup>
 
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
 
    <DebugSymbols>true</DebugSymbols>
 
    <OutputPath>bin\x64\Debug\</OutputPath>
 
    <DefineConstants>DEBUG</DefineConstants>
 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 
    <DebugType>full</DebugType>
 
    <PlatformTarget>x64</PlatformTarget>
 
    <ErrorReport>prompt</ErrorReport>
 
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
 
    <Prefer32Bit>true</Prefer32Bit>
publish.sh
Show inline comments
 
#!/bin/sh
 

	
 
if [ $# -ne 2 ]; then
 
	echo "Usage: $0 <version> <build name>"
 
	exit 1
 
fi
 

	
 
VERSION=$1
 
BUILD_NAME=$2
 

	
 
mkdir -p publish
 
# Windows Release build
 
( cd ./bin/x64/Release ; /usr/bin/zip -r ../../../publish/DesertPaintLab_${BUILD_NAME}.zip . -x .DS_Store )
 
# NOTE: 32-bit because GTK# doesn't have 64-bit installers
 
( cd ./bin/x86/Release ; /usr/bin/zip -r ../../../publish/DesertPaintLab_${BUILD_NAME}.zip . -x .DS_Store )
 

	
 
( cd ./mac ; ./build-mac-bundle.sh "${VERSION}" "${BUILD_NAME}" )
 

	
0 comments (0 inline, 0 general)