forked from sproutit/sproutcore-abbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
54 lines (44 loc) · 1.55 KB
/
Rakefile
File metadata and controls
54 lines (44 loc) · 1.55 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ===========================================================================
# Project: Abbot - SproutCore Build Tools
# Copyright: ©2009 Apple, Inc.
# portions copyright @2006-2009 Sprout Systems, Inc.
# and contributors
# ===========================================================================
# This Rakefile is used to build and distribute the SproutCore Gem. It
# requires the "bones" gem to provide the rake tasks needed for release.
################################################
## LOAD BONES
##
begin
require 'bones'
Bones.setup
rescue LoadError
puts "WARN: bones gem is required to build SproutCore Gem"
#load 'tasks/setup.rb'
end
ensure_in_path 'lib'
require 'sproutcore'
################################################
## DEPENDENCIES
##
depend_on 'extlib', ">= 0.9.9"
depend_on 'rack', '>= 0.9.1'
depend_on 'erubis', ">= 2.6.2"
depend_on 'json_pure', ">= 1.1.0"
################################################
## PROJECT DESCRIPTION
##
task :default => 'spec:specdoc'
PROJ.name = 'sproutcore'
PROJ.authors = 'Sprout Systems, Inc. Apple, Inc. and contributors'
PROJ.email = 'contact@sproutcore.com'
PROJ.url = 'http://www.sproutcore.com/sproutcore'
PROJ.version = SC::VERSION
PROJ.rubyforge.name = 'sproutcore'
PROJ.ruby_opts = []
PROJ.spec.opts << '--color'
PROJ.exclude << '^coverage/' << '\.gitignore' << '\.gitmodules' << ".DS_Store"
# For development builds add timestamp to the version number to auto-version
# development gems.
PROJ.version += ".#{Time.now.strftime("%Y%m%d%H%M%S")}" if !ENV['VERSION']
# EOF