-
Notifications
You must be signed in to change notification settings - Fork 89
/
build_configuration.rb
101 lines (81 loc) · 2.58 KB
/
build_configuration.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
configuration do |c|
# The name for your resulting application file (e.g., if the project_name is 'foo' then you'll get foo.jar, foo.exe, etc.)
# default value: "FireApp"
#
c.project_name = "compass-app"
# Undocumented option 'output_dir'
# default value: "package"
#
#c.output_dir = "package"
# The type of executable to create (console or gui)
# default value: "gui"
#
#c.executable_type = "gui"
# The main ruby file to invoke, minus the .rb extension
# default value: "main"
#
#c.main_ruby_file = "main"
# The fully-qualified name of the main Java file used to initiate the application.
# default value: "org.monkeybars.rawr.Main"
#
c.main_java_file = "com.kkbox.compassapp.Main"
# A list of directories where source files reside
# default value: ["src"]
#
#c.source_dirs = ["src"]
# A list of regexps of files to exclude
# default value: []
#
#c.source_exclude_filter = []
# The base directory that holds Mirah files, or subdirectories with Mirah files.
# default value: "src"
#
#c.mirah_source_root = "src"
# Whether Ruby source files should be compiled into .class files. Setting this to true currently breaks packaging
# default value: false
#
#c.compile_ruby_files = false
# A list of individual Java library files to include.
# default value: []
#
#c.java_lib_files = []
# A list of directories for rawr to include . All files in the given directories get bundled up.
# default value: ["lib/java"]
#
#c.java_lib_dirs = ["lib/java"]
# Undocumented option 'files_to_copy'
# default value: []
#
#c.files_to_copy = []
# Undocumented option 'target_jvm_version'
# default value: 1.6
#
c.target_jvm_version = 1.7
# Undocumented option 'jvm_arguments'
# default value: ""
#
c.jvm_arguments = "-Xss1m -XX:-UseParallelOldGC -XX:NewRatio=4 -Xmx384m -Xms128m -Dfile.encoding=UTF-8"
# Undocumented option 'java_library_path'
# default value: ""
#
#c.java_library_path = ""
# Undocumented option 'extra_user_jars'
# default value: {}
#
#c.extra_user_jars[:data] = { :directory => 'data/images/png',
# :location_in_jar => 'images',
# :exclude => /*.bak$/ }
# Undocumented option 'mac_do_not_generate_plist'
# default value: nil
#
#c.mac_do_not_generate_plist = nil
# working directory specified in plist file
# default value: "$APP_PACKAGE"
#
#c.mac_plist_working_directory = "$APP_PACKAGE"
c.mac_icon_path = Dir.pwd + "/lib/images/icon/icon-osx.icns"
# Undocumented option 'windows_icon_path'
# default value: nil
#
c.windows_icon_path = Dir.pwd + "/lib/images/icon/icon-win.ico"
end