Skip to content

Commit

Permalink
Update release build script to include compiler .dll
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Apr 19, 2018
1 parent de0e9b4 commit 9f1dda1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_release.command
Expand Up @@ -11,7 +11,7 @@ mkdir -p ReleaseBinary

# Windows: Simply zip up inklecate.exe and the runtime together
# We rely on a compatible version of .NET being installed on Windows
zip --junk-paths ReleaseBinary/inklecate_windows_and_linux.zip inklecate/bin/Release/inklecate.exe ink-engine-runtime/bin/Release/ink-engine-runtime.dll ink-engine-runtime/bin/Release/ink-engine-runtime.xml
zip --junk-paths ReleaseBinary/inklecate_windows_and_linux.zip inklecate/bin/Release/inklecate.exe ink-engine-runtime/bin/Release/ink-engine-runtime.dll inklecate/bin/Release/ink_compiler.dll ink-engine-runtime/bin/Release/ink-engine-runtime.xml

# Mac: Make a native binary that includes the mono runtime
# Prepare to bundle up compiled binary
Expand All @@ -22,6 +22,6 @@ export CC="cc -arch i386 -framework CoreFoundation -lobjc -liconv"
# "Bundles in addition support a –static flag. The –static flag causes mkbundle to generate a static executable that statically links the Mono runtime. Be advised that this option will trigger the LGPL requirement that you still distribute the independent pieces to your user so he can manually upgrade his Mono runtime if he chooses to do so. Alternatively, you can obtain a proprietary license of Mono by contacting Xamarin."
# http://www.mono-project.com/archived/guiderunning_mono_applications/
mkbundle ./inklecate/bin/Release/inklecate.exe ./inklecate/bin/Release/ink-engine-runtime.dll ./inklecate/bin/Release/ink_compiler.dll --deps --static --sdk /Library/Frameworks/Mono.framework/Versions/Current -o ./ReleaseBinary/inklecate
zip --junk-paths ReleaseBinary/inklecate_mac.zip ReleaseBinary/inklecate ink-engine-runtime/bin/Release/ink-engine-runtime.dll
zip --junk-paths ReleaseBinary/inklecate_mac.zip ReleaseBinary/inklecate ink-engine-runtime/bin/Release/ink-engine-runtime.dll inklecate/bin/Release/ink_compiler.dll

rm ReleaseBinary/inklecate

0 comments on commit 9f1dda1

Please sign in to comment.