builder/0.1.rbspec
changeset 0 da028ec9cc07
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/builder/0.1.rbspec	Fri Mar 13 22:51:48 2015 +0000
@@ -0,0 +1,31 @@
+project :'statascripteditor:0.1' do
+
+  # Build ID
+  if ENV['BUILD_NUMBER']
+    build_id="build#{ENV['BUILD_NUMBER']}"
+  else
+    build_id="#{Time.now.strftime("%Y%m%d")}"
+  end
+
+  app_name "statascripteditor"
+  app_version "0.1_#{build_id}"
+
+
+  import :'stx:jv-branch'
+
+  repository :'swing'
+  import :'statascripteditor:baseline'
+
+  package 'jv:statascripteditor', :repository => :'bitbucket:janvrany'
+
+
+  tasks do
+
+    task :'dist:main' => :'dist:install-archive'
+    task :'dist:install:post' do
+      rm DIST_DIR / BUILD_NAME / 'statascripteditor.rc'
+      rm DIST_DIR / BUILD_NAME / 'statascripteditorWinRC.rc'
+    end
+    redefine 'dist:jv-branch'
+  end
+end
\ No newline at end of file