forked from rhomobile/rhodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rhodes-core.gemspec
59 lines (47 loc) · 1.53 KB
/
rhodes-core.gemspec
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
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
require 'fileutils'
FileUtils.cp "Rakefile", "rakefile.rb"
s.name = %q{rhodes-core}
s.version = File.read('version').chomp
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rhomobile"]
s.date = Time.now
s.description = %q{Rhodes mobile framework core installer}
s.email = %q{[email protected]}
s.extra_rdoc_files = ["README.md", "LICENSE"]
folders_to_include = [
"./bin",
"./ext",
"./lib/build",
"./lib/rhodes",
"./platform/android/build",
"./platform/iphone/rbuild",
"./platform/wm/build",
"./platform/wp8/build",
"./platform/uwp/build",
"./platform/linux/tasks/linux.rake",
"./platform/osx/build/osx.rake",
"./res/build-tools/ruby-standalone",
"./res/generators"
]
files = [
'lib/rhodes.rb',
'Rakefile',
'rhobuild.yml.example',
'platform/shared/common/RhoDefs.h'
]
require 'find'
folders_to_include.each { |folder|
Find.find( folder ) { |file|
files << file
}
}
s.files = files
s.homepage = %q{http://www.rhomobile.com}
s.require_paths = ["lib"]
s.executables << 'rho'
#this is a hack, we dont have an extension, but we want to run postinstall code. It's done via the 'building' of an extension
s.extensions << 'ext/extconf-core.rb'
s.summary = %q{The Rhodes framework is the easiest way to develop NATIVE apps with full device capabilities (GPS, PIM, camera, etc.) for any smartphone.}
end