public
Description: Singleshot is a task manager. You use it to track and complete your tasks, processes use it to involve you
Homepage: http://intalio.github.com/singleshot
Clone URL: git://github.com/intalio/singleshot.git
commit  3953f94086c25f8cdb9b15f7a2c1383831338822
tree    f0afd3a133e58ea9b1ca273afc502d6d1544f595
parent  615dcaac62784ae631f310ac6eef225535ba0340
singleshot / Buildfile
100644 32 lines (23 sloc) 0.843 kb
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
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
 
#require 'rake'
#require 'rake/testtask'
#require 'rake/rdoctask'
 
#require 'tasks/rails'
 
THIS_VERSION = "20090909-SNAPSHOT"
 
repositories.remote << "http://repo1.maven.org/maven2"
repositories.remote << "http://download.java.net/maven/2"
repositories.remote << "http://www.intalio.org/public/maven2"
 
define 'singleshot' do
  project.version = THIS_VERSION
  project.group = "com.intalio.singleshot"
 
  package :war
end
 
repositories.release_to[:username] ||= "release"
repositories.release_to[:url] ||= "sftp://www.intalio.org/var/www-org/public/maven2"
repositories.release_to[:permissions] ||= 0664
 
desc "Put together a singleshot war package"
task :package do
  `warble war`
  @packagename = "singleshot-#{THIS_VERSION}"
  `mv singleshot.war target/#{@packagename}.war`
end