rake-delphi 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile.rb +12 -0
- data/lib/rake/common/chdirtask.rb +21 -0
- data/lib/rake/common/classes.rb +15 -0
- data/lib/rake/common/dsl.rb +10 -0
- data/lib/rake/common/echotask.rb +34 -0
- data/lib/rake/common/exectask.rb +20 -0
- data/lib/rake/common/git.rb +102 -0
- data/lib/rake/common/hashtask.rb +43 -0
- data/lib/rake/common/initask.rb +31 -0
- data/lib/rake/common/libstask.rb +35 -0
- data/lib/rake/common/sendmailtask.rb +45 -0
- data/lib/rake/common/ziptask.rb +98 -0
- data/lib/rake/delphi/dcc32.rb +260 -0
- data/lib/rake/delphi/envvariables.rb +41 -0
- data/lib/rake/delphi/liblist.rb +29 -0
- data/lib/rake/delphi/project.rb +68 -0
- data/lib/rake/delphi/projectinfo.rb +76 -0
- data/lib/rake/delphi/rc.rb +25 -0
- data/lib/rake/delphi/resources.rb +126 -0
- data/lib/rake/delphi/tool.rb +140 -0
- data/lib/rake/delphi/version.rb +7 -0
- data/lib/rake/delphi.rb +4 -0
- data/lib/rake/helpers/digest.rb +28 -0
- data/lib/rake/helpers/file.rb +35 -0
- data/lib/rake/helpers/filelist.rb +12 -0
- data/lib/rake/helpers/gemversion.rb +42 -0
- data/lib/rake/helpers/logger.rb +15 -0
- data/lib/rake/helpers/rake.rb +29 -0
- data/lib/rake/helpers/raketask.rb +39 -0
- data/lib/rake/helpers/string.rb +10 -0
- data/lib/rake/helpers/unittest.rb +17 -0
- data/lib/rake/templates/project.erb +60 -0
- data/rake-delphi.gemspec +23 -0
- data/test/helpers/consts.rb +4 -0
- data/test/resources/FakeDelphi/dcc32.exe +0 -0
- data/test/resources/FakeDelphi/rc.exe +0 -0
- data/test/resources/echo/file.in +1 -0
- data/test/resources/echo/file.out +1 -0
- data/test/resources/hashes/hash.2.file +1 -0
- data/test/resources/hashes/hash.file +1 -0
- data/test/resources/ini/file.ini +7 -0
- data/test/resources/libstask/lib/level-1/level-2-1/level-3-1/.gitkeep +0 -0
- data/test/resources/libstask/lib/level-1/level-2-1/level-3-2/.gitkeep +0 -0
- data/test/resources/libstask/lib/level-1/level-2-2/.gitkeep +0 -0
- data/test/resources/testproject/.gitignore +8 -0
- data/test/resources/testproject/ExplicitLib/ExplicitLibUnit.pas +17 -0
- data/test/resources/testproject/Rakefile.rb +54 -0
- data/test/resources/testproject/lib/AnyLib/LibUnit.pas +17 -0
- data/test/resources/testproject/local.resources.txt +1 -0
- data/test/resources/testproject/release.dcc.cfg +1 -0
- data/test/resources/testproject/resources.rc +1 -0
- data/test/resources/testproject/testproject.bdsproj +175 -0
- data/test/resources/testproject/testproject.cfg +39 -0
- data/test/resources/testproject/testproject.dpr +78 -0
- data/test/resources/testproject/testproject.dproj +77 -0
- data/test/resources/testproject/testproject.ico +0 -0
- data/test/test-delphi.rb +166 -0
- data/test/test-echo.rb +33 -0
- data/test/test-gemversion.rb +61 -0
- data/test/test-git.rb +144 -0
- data/test/test-hashes.rb +57 -0
- data/test/test-ini.rb +18 -0
- data/test/test-libstask.rb +54 -0
- data/test/test-projectinfo.rb +66 -0
- data/test/test-zip.rb +43 -0
- metadata +179 -0
data/test/test-git.rb
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'test/unit'
|
5
|
+
require 'fileutils'
|
6
|
+
require 'rake/common/chdirtask'
|
7
|
+
require 'rake/common/git'
|
8
|
+
require 'rake/helpers/unittest'
|
9
|
+
|
10
|
+
class CustomTestGit < Test::Unit::TestCase
|
11
|
+
private
|
12
|
+
def init_test_dit_dir
|
13
|
+
@test_git_dir = File.expand_path('../tmp', __FILE__)
|
14
|
+
FileUtils.mkdir_p(@test_git_dir)
|
15
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
16
|
+
`rm -rf .git *`
|
17
|
+
`git init .`
|
18
|
+
`git config --global user.email "git@test.ru"`
|
19
|
+
`git config --global user.name "Git test"`
|
20
|
+
`echo file content > file.txt`
|
21
|
+
`git add file.txt`
|
22
|
+
`git commit -m "first commit"`
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def second_commit
|
27
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
28
|
+
`echo line added >> file.txt`
|
29
|
+
`git commit -a -m "file content added"`
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def third_commit
|
34
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
35
|
+
`echo line two added >> file.txt`
|
36
|
+
`git commit -a -m "line two added message"`
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
public
|
41
|
+
def setup
|
42
|
+
@rake_task = Rake::Task.new('some-task-' + name, Rake.application)
|
43
|
+
init_test_dit_dir
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_git
|
47
|
+
# empty test to avoid failure
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
class TestGit < CustomTestGit
|
52
|
+
def test_git
|
53
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
54
|
+
assert_equal nil, Rake::Delphi::Git.version
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_version_0_0_1_0
|
59
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
60
|
+
`git tag 0.0.1 -a -m "version 0.0.1"`
|
61
|
+
assert_equal '0.0.1.0', Rake::Delphi::Git.version
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_version_0_0_1_1
|
66
|
+
test_version_0_0_1_0
|
67
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
68
|
+
second_commit
|
69
|
+
assert_equal '0.0.1.1', Rake::Delphi::Git.version
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class TestGitChangelog < CustomTestGit
|
75
|
+
private
|
76
|
+
public
|
77
|
+
def setup
|
78
|
+
super
|
79
|
+
second_commit
|
80
|
+
third_commit
|
81
|
+
@opts = {:since => 'HEAD^^'}
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_changelog_last
|
85
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
86
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, nil)
|
87
|
+
assert_equal [], chlog.changelog, 'Changelog'
|
88
|
+
assert_equal [], chlog.processed, 'Processed'
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def test_changelog_from_root
|
93
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
94
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
95
|
+
assert_equal ["line two added message", "file content added"], chlog.changelog, 'Changelog'
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_changelog_filter
|
100
|
+
@opts.merge!({:filter => 'line' })
|
101
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
102
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
103
|
+
assert_equal ["line two added message"], chlog.changelog, 'Changelog'
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_changelog_processed_array
|
108
|
+
@opts.merge!({ :process => [{'added' => 'deleted'}] })
|
109
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
110
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
111
|
+
assert_equal ["line two deleted message", "file content deleted"], chlog.processed, 'Changelog'
|
112
|
+
# changelog must be unmodified
|
113
|
+
assert_equal ["line two added message", "file content added"], chlog.changelog, 'Changelog unmodified'
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_changelog_processed_hash
|
118
|
+
@opts.merge!({ :process => {'added' => 'deleted'} })
|
119
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
120
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
121
|
+
assert_equal ["line two deleted message", "file content deleted"], chlog.processed, 'Changelog processed'
|
122
|
+
# changelog must be unmodified
|
123
|
+
assert_equal ["line two added message", "file content added"], chlog.changelog, 'Changelog unmodified'
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def test_changelog_processed_not_a_hash_string
|
128
|
+
@opts.merge!({ :process => 'added'})
|
129
|
+
assert_raise RuntimeError do
|
130
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
131
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
def test_changelog_processed_not_a_hash_array
|
137
|
+
@opts.merge!({ :process => [['added']] })
|
138
|
+
assert_raise RuntimeError do
|
139
|
+
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
|
140
|
+
chlog = Rake::Delphi::GitChangelog.new(@rake_task, @opts)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
data/test/test-hashes.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'fileutils'
|
5
|
+
require 'test/unit'
|
6
|
+
require 'rake/common/hashtask'
|
7
|
+
require 'rake/helpers/unittest'
|
8
|
+
|
9
|
+
class CustomTestHashTask < Test::Unit::TestCase
|
10
|
+
private
|
11
|
+
def _file
|
12
|
+
return @file ||= File.expand_path('../resources/hashes/hash.file', __FILE__)
|
13
|
+
end
|
14
|
+
public
|
15
|
+
def default_test
|
16
|
+
# do not fail
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
class TestHashTask < CustomTestHashTask
|
21
|
+
def test_hash_md5
|
22
|
+
assert_equal '9893532233CAFF98CD083A116B013C0B', Rake::Delphi::HashTask.new(_file, 'md5').digest
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_hash_sha1
|
26
|
+
assert_equal '94E66DF8CD09D410C62D9E0DC59D3A884E458E05', Rake::Delphi::HashTask.new(_file, 'sha1').digest
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_hash_crc32
|
30
|
+
# other than `md5` or `sha1`
|
31
|
+
assert_equal '431F313F', Rake::Delphi::HashTask.new(_file, nil).digest
|
32
|
+
assert_equal '431F313F', Rake::Delphi::HashTask.new(_file, '').digest
|
33
|
+
assert_equal '431F313F', Rake::Delphi::HashTask.new(_file, 'sha2').digest
|
34
|
+
assert_equal '431F313F', Rake::Delphi::HashTask.new(_file, 'md4').digest
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class TestHashesTask < CustomTestHashTask
|
39
|
+
public
|
40
|
+
def setup
|
41
|
+
super
|
42
|
+
@rake_task = Rake::Task.new('some-task-' + name, Rake.application)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_hash_md5
|
46
|
+
assert_equal({ _file => { 'MD5' => '9893532233CAFF98CD083A116B013C0B' } }, \
|
47
|
+
Rake::Delphi::HashesTask.new(@rake_task, _file, 'md5').to_hash)
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_hash_sha1_array
|
51
|
+
file2 = File.expand_path('../hash.2.file', _file)
|
52
|
+
files = [_file, file2]
|
53
|
+
assert_equal({ _file => { 'SHA1' => '94E66DF8CD09D410C62D9E0DC59D3A884E458E05' }, \
|
54
|
+
file2 => { 'SHA1' => '031DF9EE7F13F5CA460490E77FBFF9687975BACC' } }, \
|
55
|
+
Rake::Delphi::HashesTask.new(@rake_task, files, 'sha1').to_hash)
|
56
|
+
end
|
57
|
+
end
|
data/test/test-ini.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'test/unit'
|
5
|
+
require 'rake/common/initask'
|
6
|
+
require 'rake/helpers/unittest'
|
7
|
+
|
8
|
+
class TestIniProperty < Test::Unit::TestCase
|
9
|
+
private
|
10
|
+
def _file
|
11
|
+
return @file ||= File.expand_path('../resources/ini/file.ini', __FILE__)
|
12
|
+
end
|
13
|
+
public
|
14
|
+
def test_read_ini
|
15
|
+
assert_equal 'some ini value 1', Rake::Delphi::IniProperty.get('%s:%s:%s' % [_file, 'IniSection', 'IniValue1'])
|
16
|
+
assert_equal 'ini section 2 value 2', Rake::Delphi::IniProperty.get('%s:%s:%s' % [_file, 'IniSection-2', 'IniValue2'])
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'test/unit'
|
5
|
+
require 'rake/common/libstask'
|
6
|
+
require 'rake/helpers/unittest'
|
7
|
+
|
8
|
+
class TestLibsTask < Test::Unit::TestCase
|
9
|
+
private
|
10
|
+
def _dir
|
11
|
+
return @dir ||= File.expand_path('../resources/libstask/', __FILE__)
|
12
|
+
end
|
13
|
+
public
|
14
|
+
def setup
|
15
|
+
ENV['RAKE_DIR'] = _dir
|
16
|
+
@task = Rake::Delphi::LibsTask.define('test-libs-task-' + name, Rake.application)
|
17
|
+
@task.invoke
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_define
|
21
|
+
# define task second time
|
22
|
+
task2 = Rake::Delphi::LibsTask.define('test-libs-task-test_define', Rake.application)
|
23
|
+
# if name contains brackets (in Ruby 1.8.7 unit tests)
|
24
|
+
if name =~ /[()]/
|
25
|
+
assert_equal('test-libs-task-test_define(TestLibsTask)', task2.name)
|
26
|
+
else
|
27
|
+
assert_equal('test-libs-task-test_define', task2.name)
|
28
|
+
end
|
29
|
+
# already invoked
|
30
|
+
assert_not_equal(nil, task2.libs)
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_libs_relative
|
34
|
+
libs_rel = @task.libs_relative(0)
|
35
|
+
assert_equal([
|
36
|
+
"./lib/level-1", \
|
37
|
+
"./lib/level-1/level-2-1", \
|
38
|
+
"./lib/level-1/level-2-1/level-3-1",
|
39
|
+
"./lib/level-1/level-2-1/level-3-2", \
|
40
|
+
"./lib/level-1/level-2-2"],
|
41
|
+
libs_rel)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_libs_relative_level
|
45
|
+
libs_rel = @task.libs_relative(1)
|
46
|
+
assert_equal([
|
47
|
+
"./../lib/level-1", \
|
48
|
+
"./../lib/level-1/level-2-1", \
|
49
|
+
"./../lib/level-1/level-2-1/level-3-1",
|
50
|
+
"./../lib/level-1/level-2-1/level-3-2", \
|
51
|
+
"./../lib/level-1/level-2-2"],
|
52
|
+
libs_rel)
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# encoding: Windows-1251
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'test/unit'
|
5
|
+
require 'rake/delphi'
|
6
|
+
require 'rake/delphi/projectinfo'
|
7
|
+
require 'rake/delphi/dcc32'
|
8
|
+
require 'rake/helpers/unittest'
|
9
|
+
require 'helpers/consts'
|
10
|
+
|
11
|
+
module Rake
|
12
|
+
module Delphi
|
13
|
+
class BDSVersionInfo
|
14
|
+
# override method
|
15
|
+
def self.encoding
|
16
|
+
'Windows-1251'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module DelphiTests
|
23
|
+
|
24
|
+
class TestBDSVersionInfo < Test::Unit::TestCase
|
25
|
+
private
|
26
|
+
def version
|
27
|
+
2006
|
28
|
+
end
|
29
|
+
public
|
30
|
+
def setup
|
31
|
+
@rake_task = Rake::Delphi::Dcc32Task.new('some-task-' + name, Rake.application)
|
32
|
+
@rake_task.systempath = PROJECT_PATH + '/testproject.dpr'
|
33
|
+
@info = Rake::Delphi::BDSVersionInfo.new(@rake_task)
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_info
|
37
|
+
assert_equal '4.3.2.1', @info['FileVersion']
|
38
|
+
assert_equal 'Rake', @info['CompanyName']
|
39
|
+
assert_equal 'Test rake-delphi project %d description' % version, @info['FileDescription']
|
40
|
+
assert_equal 'testproject.exe', @info['InternalName']
|
41
|
+
assert_equal 'Copyright. ��������', @info['LegalCopyright']
|
42
|
+
assert_equal 'Trademark. �������� �����', @info['LegalTrademarks']
|
43
|
+
assert_equal 'testproject.exe', @info['OriginalFilename']
|
44
|
+
assert_equal 'Test rake-delphi project %d product name' % version, @info['ProductName']
|
45
|
+
assert_equal '1.2.3.4', @info['ProductVersion']
|
46
|
+
assert_equal 'Test project comment', @info['Comments']
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
class TestRAD2007VersionInfo < TestBDSVersionInfo
|
51
|
+
private
|
52
|
+
def version
|
53
|
+
2007
|
54
|
+
end
|
55
|
+
public
|
56
|
+
def setup
|
57
|
+
super
|
58
|
+
@info = Rake::Delphi::RAD2007VersionInfo.new(@rake_task)
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_info
|
62
|
+
super
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
data/test/test-zip.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'test/unit'
|
5
|
+
require 'rake/common/ziptask'
|
6
|
+
require 'rake/helpers/unittest'
|
7
|
+
|
8
|
+
class TestZipTask < Test::Unit::TestCase
|
9
|
+
private
|
10
|
+
public
|
11
|
+
def setup
|
12
|
+
@rake_task = Rake::Task.new('some-task-' + name, Rake.application)
|
13
|
+
@zip = __FILE__.pathmap('%X.zip')
|
14
|
+
File.unlink(@zip) if File.exists?(@zip)
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_zip_no_task
|
18
|
+
assert_raise NoMethodError do
|
19
|
+
# first argument must be a Rake::Task
|
20
|
+
# "undefined method `application' for nil:NilClass" must be raised
|
21
|
+
Rake::Delphi::ZipTask.new(nil, nil, nil)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_zip_no_filename
|
26
|
+
assert_raise RuntimeError do
|
27
|
+
# second argument must be non-empty
|
28
|
+
Rake::Delphi::ZipTask.new(@rake_task, nil, nil)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_zip_empty_filename
|
33
|
+
assert_raise RuntimeError do
|
34
|
+
# second argument must be non-empty
|
35
|
+
Rake::Delphi::ZipTask.new(@rake_task, '', nil)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_zip_file
|
40
|
+
Rake::Delphi::ZipTask.new(@rake_task, @zip, [__FILE__])
|
41
|
+
assert(File.exists?(@zip))
|
42
|
+
end
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rake-delphi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alexey Shumkin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Tasks for building Delphi projects
|
47
|
+
email:
|
48
|
+
- Alex.Crezoff@gmail.com
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- .gitignore
|
54
|
+
- Gemfile
|
55
|
+
- LICENSE.txt
|
56
|
+
- README.md
|
57
|
+
- Rakefile.rb
|
58
|
+
- lib/rake/common/chdirtask.rb
|
59
|
+
- lib/rake/common/classes.rb
|
60
|
+
- lib/rake/common/dsl.rb
|
61
|
+
- lib/rake/common/echotask.rb
|
62
|
+
- lib/rake/common/exectask.rb
|
63
|
+
- lib/rake/common/git.rb
|
64
|
+
- lib/rake/common/hashtask.rb
|
65
|
+
- lib/rake/common/initask.rb
|
66
|
+
- lib/rake/common/libstask.rb
|
67
|
+
- lib/rake/common/sendmailtask.rb
|
68
|
+
- lib/rake/common/ziptask.rb
|
69
|
+
- lib/rake/delphi.rb
|
70
|
+
- lib/rake/delphi/dcc32.rb
|
71
|
+
- lib/rake/delphi/envvariables.rb
|
72
|
+
- lib/rake/delphi/liblist.rb
|
73
|
+
- lib/rake/delphi/project.rb
|
74
|
+
- lib/rake/delphi/projectinfo.rb
|
75
|
+
- lib/rake/delphi/rc.rb
|
76
|
+
- lib/rake/delphi/resources.rb
|
77
|
+
- lib/rake/delphi/tool.rb
|
78
|
+
- lib/rake/delphi/version.rb
|
79
|
+
- lib/rake/helpers/digest.rb
|
80
|
+
- lib/rake/helpers/file.rb
|
81
|
+
- lib/rake/helpers/filelist.rb
|
82
|
+
- lib/rake/helpers/gemversion.rb
|
83
|
+
- lib/rake/helpers/logger.rb
|
84
|
+
- lib/rake/helpers/rake.rb
|
85
|
+
- lib/rake/helpers/raketask.rb
|
86
|
+
- lib/rake/helpers/string.rb
|
87
|
+
- lib/rake/helpers/unittest.rb
|
88
|
+
- lib/rake/templates/project.erb
|
89
|
+
- rake-delphi.gemspec
|
90
|
+
- test/helpers/consts.rb
|
91
|
+
- test/resources/FakeDelphi/dcc32.exe
|
92
|
+
- test/resources/FakeDelphi/rc.exe
|
93
|
+
- test/resources/echo/file.in
|
94
|
+
- test/resources/echo/file.out
|
95
|
+
- test/resources/hashes/hash.2.file
|
96
|
+
- test/resources/hashes/hash.file
|
97
|
+
- test/resources/ini/file.ini
|
98
|
+
- test/resources/libstask/lib/level-1/level-2-1/level-3-1/.gitkeep
|
99
|
+
- test/resources/libstask/lib/level-1/level-2-1/level-3-2/.gitkeep
|
100
|
+
- test/resources/libstask/lib/level-1/level-2-2/.gitkeep
|
101
|
+
- test/resources/testproject/.gitignore
|
102
|
+
- test/resources/testproject/ExplicitLib/ExplicitLibUnit.pas
|
103
|
+
- test/resources/testproject/Rakefile.rb
|
104
|
+
- test/resources/testproject/lib/AnyLib/LibUnit.pas
|
105
|
+
- test/resources/testproject/local.resources.txt
|
106
|
+
- test/resources/testproject/release.dcc.cfg
|
107
|
+
- test/resources/testproject/resources.rc
|
108
|
+
- test/resources/testproject/testproject.bdsproj
|
109
|
+
- test/resources/testproject/testproject.cfg
|
110
|
+
- test/resources/testproject/testproject.dpr
|
111
|
+
- test/resources/testproject/testproject.dproj
|
112
|
+
- test/resources/testproject/testproject.ico
|
113
|
+
- test/test-delphi.rb
|
114
|
+
- test/test-echo.rb
|
115
|
+
- test/test-gemversion.rb
|
116
|
+
- test/test-git.rb
|
117
|
+
- test/test-hashes.rb
|
118
|
+
- test/test-ini.rb
|
119
|
+
- test/test-libstask.rb
|
120
|
+
- test/test-projectinfo.rb
|
121
|
+
- test/test-zip.rb
|
122
|
+
homepage: http://github.com/ashumkin/rake-delphi.gem
|
123
|
+
licenses:
|
124
|
+
- MIT
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options: []
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ! '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 1.8.23
|
144
|
+
signing_key:
|
145
|
+
specification_version: 3
|
146
|
+
summary: Tasks for building Delphi projects
|
147
|
+
test_files:
|
148
|
+
- test/helpers/consts.rb
|
149
|
+
- test/resources/FakeDelphi/dcc32.exe
|
150
|
+
- test/resources/FakeDelphi/rc.exe
|
151
|
+
- test/resources/echo/file.in
|
152
|
+
- test/resources/echo/file.out
|
153
|
+
- test/resources/hashes/hash.2.file
|
154
|
+
- test/resources/hashes/hash.file
|
155
|
+
- test/resources/ini/file.ini
|
156
|
+
- test/resources/libstask/lib/level-1/level-2-1/level-3-1/.gitkeep
|
157
|
+
- test/resources/libstask/lib/level-1/level-2-1/level-3-2/.gitkeep
|
158
|
+
- test/resources/libstask/lib/level-1/level-2-2/.gitkeep
|
159
|
+
- test/resources/testproject/.gitignore
|
160
|
+
- test/resources/testproject/ExplicitLib/ExplicitLibUnit.pas
|
161
|
+
- test/resources/testproject/Rakefile.rb
|
162
|
+
- test/resources/testproject/lib/AnyLib/LibUnit.pas
|
163
|
+
- test/resources/testproject/local.resources.txt
|
164
|
+
- test/resources/testproject/release.dcc.cfg
|
165
|
+
- test/resources/testproject/resources.rc
|
166
|
+
- test/resources/testproject/testproject.bdsproj
|
167
|
+
- test/resources/testproject/testproject.cfg
|
168
|
+
- test/resources/testproject/testproject.dpr
|
169
|
+
- test/resources/testproject/testproject.dproj
|
170
|
+
- test/resources/testproject/testproject.ico
|
171
|
+
- test/test-delphi.rb
|
172
|
+
- test/test-echo.rb
|
173
|
+
- test/test-gemversion.rb
|
174
|
+
- test/test-git.rb
|
175
|
+
- test/test-hashes.rb
|
176
|
+
- test/test-ini.rb
|
177
|
+
- test/test-libstask.rb
|
178
|
+
- test/test-projectinfo.rb
|
179
|
+
- test/test-zip.rb
|