0
|
1 |
project :'statascripteditor:0.1' do
|
|
2 |
|
|
3 |
# Build ID
|
|
4 |
if ENV['BUILD_NUMBER']
|
|
5 |
build_id="build#{ENV['BUILD_NUMBER']}"
|
|
6 |
else
|
|
7 |
build_id="#{Time.now.strftime("%Y%m%d")}"
|
|
8 |
end
|
|
9 |
|
|
10 |
app_name "statascripteditor"
|
|
11 |
app_version "0.1_#{build_id}"
|
|
12 |
|
|
13 |
|
|
14 |
import :'stx:jv-branch'
|
|
15 |
|
|
16 |
repository :'swing'
|
|
17 |
import :'statascripteditor:baseline'
|
|
18 |
|
|
19 |
package 'jv:statascripteditor', :repository => :'bitbucket:janvrany'
|
|
20 |
|
|
21 |
|
|
22 |
tasks do
|
|
23 |
|
|
24 |
task :'dist:main' => :'dist:install-archive'
|
|
25 |
task :'dist:install:post' do
|
|
26 |
rm DIST_DIR / BUILD_NAME / 'statascripteditor.rc'
|
|
27 |
rm DIST_DIR / BUILD_NAME / 'statascripteditorWinRC.rc'
|
|
28 |
end
|
|
29 |
redefine 'dist:jv-branch'
|
|
30 |
end
|
|
31 |
end |