Skip to content
Browse files

Readme corrections again.

  • Loading branch information...
1 parent 6fbe71a commit f2ed9c0ec8be8de8b978a4b3b105ff22b92fa19f @Spooner committed Feb 4, 2012
Showing with 12 additions and 11 deletions.
  1. +12 −11 README.md
View
23 README.md
@@ -50,11 +50,11 @@ Example
name "My Application"
version "1.3.2"
- executable "bin/my_application.rbw"
+ executable "bin/my_application.rb"
files "lib/**/*.rb", "config/**/*.yml", "media/**/*.*"
exposed_files "README.html", "LICENSE.txt"
add_link "http://my_application.github.com", "My Application website"
- exclude_encoding
+ exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this.
# Create a variety of releases, for all platforms.
add_build :osx_app do
@@ -68,25 +68,27 @@ Example
add_package :"7z"
end
+ # If building on a Windows machine, :windows_folder and/or :windows_installer are recommended.
add_build :windows_folder do
icon "media/icon.ico"
- executable_type :windows # Assuming you don't want it to run in a console window.
- add_package :exe
+ executable_type :windows # Assuming you don't want it to run with a console window.
+ add_package :exe # Windows self-extracting archive.
end
add_build :windows_installer do
icon "media/icon.ico"
start_menu_group "Spooner Games"
readme "README.html" # User asked if they want to view readme after install.
license "LICENSE.txt" # User asked to read this and confirm before installing.
- executable_type :windows # Assuming you don't want it to run in a console window.
+ executable_type :windows # Assuming you don't want it to run with a console window.
add_package :zip
end
+ # If unable to build on a Windows machine, :windows_wrapped is the only choice.
add_build :windows_wrapped do
wrapper "wrappers/ruby-1.9.3-p0-i386-mingw32.7z" # Assuming this is where you downloaded this file.
- executable_type :windows # Assuming you don't want it to run in a console window.
- exclude_tcl_tk
+ executable_type :windows # Assuming you don't want it to run with a console window.
+ exclude_tcl_tk # Assuming application doesn't use Tcl/Tk, then it can save a lot of size by using this.
add_package :zip
end
@@ -101,20 +103,19 @@ The `windows:wrapped` task will not be created if running on Windows.
The output from "rake -T" on Windows would be:
- rake build # Build My Application 1.4.0
+ rake build # Build My Application 1.3.2
rake build:osx # Build all osx
rake build:osx:app # Build OS X app
rake build:source # Build source
rake build:windows # Build all windows
rake build:windows:folder # Build windows folder
rake build:windows:installer # Build windows installer
- rake deploy # Deploy My Application 1.4.0
+ rake deploy # Deploy My Application 1.3.2
rake deploy:osx:app:tar_gz:github # github <= osx app .tar.gz
rake deploy:source:7z:github # github <= source .7z
rake deploy:windows:folder:exe:github # github <= windows folder .exe
rake deploy:windows:installer:zip:github # github <= windows installer .zip
- rake generate:images # Generate images
- rake package # Package My Application 1.4.0
+ rake package # Package My Application 1.3.2
rake package:osx:app:tar_gz # Package osx app .tar.gz
rake package:source:7z # Package source .7z
rake package:windows:folder:exe # Package windows folder .exe

0 comments on commit f2ed9c0

Please sign in to comment.
Something went wrong with that request. Please try again.