rake 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/workflows/macos.yml +22 -0
- data/.github/workflows/ubuntu-rvm.yml +28 -0
- data/.github/workflows/ubuntu.yml +20 -0
- data/.github/workflows/windows.yml +20 -0
- data/CONTRIBUTING.rdoc +43 -0
- data/Gemfile +10 -0
- data/History.rdoc +2359 -0
- data/MIT-LICENSE +21 -0
- data/README.rdoc +155 -0
- data/Rakefile +41 -0
- data/bin/bundle +105 -0
- data/bin/console +7 -0
- data/bin/rake +29 -0
- data/bin/rdoc +29 -0
- data/bin/rubocop +29 -0
- data/bin/setup +6 -0
- data/doc/command_line_usage.rdoc +158 -0
- data/doc/example/Rakefile1 +38 -0
- data/doc/example/Rakefile2 +35 -0
- data/doc/example/a.c +6 -0
- data/doc/example/b.c +6 -0
- data/doc/example/main.c +11 -0
- data/doc/glossary.rdoc +42 -0
- data/doc/jamis.rb +592 -0
- data/doc/proto_rake.rdoc +127 -0
- data/doc/rake.1 +156 -0
- data/doc/rakefile.rdoc +622 -0
- data/doc/rational.rdoc +151 -0
- data/exe/rake +27 -0
- data/lib/rake.rb +71 -0
- data/lib/rake/application.rb +824 -0
- data/lib/rake/backtrace.rb +24 -0
- data/lib/rake/clean.rb +78 -0
- data/lib/rake/cloneable.rb +17 -0
- data/lib/rake/cpu_counter.rb +107 -0
- data/lib/rake/default_loader.rb +15 -0
- data/lib/rake/dsl_definition.rb +195 -0
- data/lib/rake/early_time.rb +22 -0
- data/lib/rake/ext/core.rb +26 -0
- data/lib/rake/ext/string.rb +176 -0
- data/lib/rake/file_creation_task.rb +25 -0
- data/lib/rake/file_list.rb +435 -0
- data/lib/rake/file_task.rb +54 -0
- data/lib/rake/file_utils.rb +134 -0
- data/lib/rake/file_utils_ext.rb +134 -0
- data/lib/rake/invocation_chain.rb +57 -0
- data/lib/rake/invocation_exception_mixin.rb +17 -0
- data/lib/rake/late_time.rb +18 -0
- data/lib/rake/linked_list.rb +112 -0
- data/lib/rake/loaders/makefile.rb +54 -0
- data/lib/rake/multi_task.rb +14 -0
- data/lib/rake/name_space.rb +38 -0
- data/lib/rake/packagetask.rb +222 -0
- data/lib/rake/phony.rb +16 -0
- data/lib/rake/private_reader.rb +21 -0
- data/lib/rake/promise.rb +100 -0
- data/lib/rake/pseudo_status.rb +30 -0
- data/lib/rake/rake_module.rb +67 -0
- data/lib/rake/rake_test_loader.rb +27 -0
- data/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/lib/rake/scope.rb +43 -0
- data/lib/rake/task.rb +433 -0
- data/lib/rake/task_argument_error.rb +8 -0
- data/lib/rake/task_arguments.rb +109 -0
- data/lib/rake/task_manager.rb +328 -0
- data/lib/rake/tasklib.rb +12 -0
- data/lib/rake/testtask.rb +224 -0
- data/lib/rake/thread_history_display.rb +49 -0
- data/lib/rake/thread_pool.rb +163 -0
- data/lib/rake/trace_output.rb +23 -0
- data/lib/rake/version.rb +10 -0
- data/lib/rake/win32.rb +51 -0
- data/rake.gemspec +36 -0
- metadata +132 -0
data/lib/rake/version.rb
ADDED
data/lib/rake/win32.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "rbconfig"
|
3
|
+
|
4
|
+
module Rake
|
5
|
+
# Win 32 interface methods for Rake. Windows specific functionality
|
6
|
+
# will be placed here to collect that knowledge in one spot.
|
7
|
+
module Win32 # :nodoc: all
|
8
|
+
|
9
|
+
# Error indicating a problem in locating the home directory on a
|
10
|
+
# Win32 system.
|
11
|
+
class Win32HomeError < RuntimeError
|
12
|
+
end
|
13
|
+
|
14
|
+
class << self
|
15
|
+
# True if running on a windows system.
|
16
|
+
def windows?
|
17
|
+
RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw|[Ww]indows)!
|
18
|
+
end
|
19
|
+
|
20
|
+
# The standard directory containing system wide rake files on
|
21
|
+
# Win 32 systems. Try the following environment variables (in
|
22
|
+
# order):
|
23
|
+
#
|
24
|
+
# * HOME
|
25
|
+
# * HOMEDRIVE + HOMEPATH
|
26
|
+
# * APPDATA
|
27
|
+
# * USERPROFILE
|
28
|
+
#
|
29
|
+
# If the above are not defined, the return nil.
|
30
|
+
def win32_system_dir #:nodoc:
|
31
|
+
win32_shared_path = ENV["HOME"]
|
32
|
+
if win32_shared_path.nil? && ENV["HOMEDRIVE"] && ENV["HOMEPATH"]
|
33
|
+
win32_shared_path = ENV["HOMEDRIVE"] + ENV["HOMEPATH"]
|
34
|
+
end
|
35
|
+
|
36
|
+
win32_shared_path ||= ENV["APPDATA"]
|
37
|
+
win32_shared_path ||= ENV["USERPROFILE"]
|
38
|
+
raise Win32HomeError,
|
39
|
+
"Unable to determine home path environment variable." if
|
40
|
+
win32_shared_path.nil? or win32_shared_path.empty?
|
41
|
+
normalize(File.join(win32_shared_path, "Rake"))
|
42
|
+
end
|
43
|
+
|
44
|
+
# Normalize a win32 path so that the slashes are all forward slashes.
|
45
|
+
def normalize(path)
|
46
|
+
path.gsub(/\\/, "/")
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/rake.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
+
require 'rake/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "rake".freeze
|
7
|
+
s.version = Rake::VERSION
|
8
|
+
s.authors = ["Hiroshi SHIBATA".freeze, "Eric Hodel".freeze, "Jim Weirich".freeze]
|
9
|
+
s.email = ["hsbt@ruby-lang.org".freeze, "drbrain@segment7.net".freeze, "".freeze]
|
10
|
+
|
11
|
+
s.summary = "Rake is a Make-like program implemented in Ruby".freeze
|
12
|
+
s.description = <<-DESCRIPTION
|
13
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
14
|
+
specified in standard Ruby syntax.
|
15
|
+
Rake has the following features:
|
16
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
17
|
+
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
|
18
|
+
* Users can specify tasks with prerequisites.
|
19
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
20
|
+
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
21
|
+
* Supports parallel execution of tasks.
|
22
|
+
DESCRIPTION
|
23
|
+
s.homepage = "https://github.com/ruby/rake".freeze
|
24
|
+
s.licenses = ["MIT".freeze]
|
25
|
+
|
26
|
+
s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
|
27
|
+
%w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
|
28
|
+
s.bindir = "exe"
|
29
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
|
+
s.require_paths = ["lib".freeze]
|
31
|
+
|
32
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
33
|
+
s.rubygems_version = "2.6.1".freeze
|
34
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.2".freeze)
|
35
|
+
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rake
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 13.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Hiroshi SHIBATA
|
8
|
+
- Eric Hodel
|
9
|
+
- Jim Weirich
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
14
|
+
dependencies: []
|
15
|
+
description: |
|
16
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
17
|
+
specified in standard Ruby syntax.
|
18
|
+
Rake has the following features:
|
19
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
20
|
+
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
|
21
|
+
* Users can specify tasks with prerequisites.
|
22
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
23
|
+
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
24
|
+
* Supports parallel execution of tasks.
|
25
|
+
email:
|
26
|
+
- hsbt@ruby-lang.org
|
27
|
+
- drbrain@segment7.net
|
28
|
+
- ''
|
29
|
+
executables:
|
30
|
+
- rake
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".github/workflows/macos.yml"
|
35
|
+
- ".github/workflows/ubuntu-rvm.yml"
|
36
|
+
- ".github/workflows/ubuntu.yml"
|
37
|
+
- ".github/workflows/windows.yml"
|
38
|
+
- CONTRIBUTING.rdoc
|
39
|
+
- Gemfile
|
40
|
+
- History.rdoc
|
41
|
+
- MIT-LICENSE
|
42
|
+
- README.rdoc
|
43
|
+
- Rakefile
|
44
|
+
- bin/bundle
|
45
|
+
- bin/console
|
46
|
+
- bin/rake
|
47
|
+
- bin/rdoc
|
48
|
+
- bin/rubocop
|
49
|
+
- bin/setup
|
50
|
+
- doc/command_line_usage.rdoc
|
51
|
+
- doc/example/Rakefile1
|
52
|
+
- doc/example/Rakefile2
|
53
|
+
- doc/example/a.c
|
54
|
+
- doc/example/b.c
|
55
|
+
- doc/example/main.c
|
56
|
+
- doc/glossary.rdoc
|
57
|
+
- doc/jamis.rb
|
58
|
+
- doc/proto_rake.rdoc
|
59
|
+
- doc/rake.1
|
60
|
+
- doc/rakefile.rdoc
|
61
|
+
- doc/rational.rdoc
|
62
|
+
- exe/rake
|
63
|
+
- lib/rake.rb
|
64
|
+
- lib/rake/application.rb
|
65
|
+
- lib/rake/backtrace.rb
|
66
|
+
- lib/rake/clean.rb
|
67
|
+
- lib/rake/cloneable.rb
|
68
|
+
- lib/rake/cpu_counter.rb
|
69
|
+
- lib/rake/default_loader.rb
|
70
|
+
- lib/rake/dsl_definition.rb
|
71
|
+
- lib/rake/early_time.rb
|
72
|
+
- lib/rake/ext/core.rb
|
73
|
+
- lib/rake/ext/string.rb
|
74
|
+
- lib/rake/file_creation_task.rb
|
75
|
+
- lib/rake/file_list.rb
|
76
|
+
- lib/rake/file_task.rb
|
77
|
+
- lib/rake/file_utils.rb
|
78
|
+
- lib/rake/file_utils_ext.rb
|
79
|
+
- lib/rake/invocation_chain.rb
|
80
|
+
- lib/rake/invocation_exception_mixin.rb
|
81
|
+
- lib/rake/late_time.rb
|
82
|
+
- lib/rake/linked_list.rb
|
83
|
+
- lib/rake/loaders/makefile.rb
|
84
|
+
- lib/rake/multi_task.rb
|
85
|
+
- lib/rake/name_space.rb
|
86
|
+
- lib/rake/packagetask.rb
|
87
|
+
- lib/rake/phony.rb
|
88
|
+
- lib/rake/private_reader.rb
|
89
|
+
- lib/rake/promise.rb
|
90
|
+
- lib/rake/pseudo_status.rb
|
91
|
+
- lib/rake/rake_module.rb
|
92
|
+
- lib/rake/rake_test_loader.rb
|
93
|
+
- lib/rake/rule_recursion_overflow_error.rb
|
94
|
+
- lib/rake/scope.rb
|
95
|
+
- lib/rake/task.rb
|
96
|
+
- lib/rake/task_argument_error.rb
|
97
|
+
- lib/rake/task_arguments.rb
|
98
|
+
- lib/rake/task_manager.rb
|
99
|
+
- lib/rake/tasklib.rb
|
100
|
+
- lib/rake/testtask.rb
|
101
|
+
- lib/rake/thread_history_display.rb
|
102
|
+
- lib/rake/thread_pool.rb
|
103
|
+
- lib/rake/trace_output.rb
|
104
|
+
- lib/rake/version.rb
|
105
|
+
- lib/rake/win32.rb
|
106
|
+
- rake.gemspec
|
107
|
+
homepage: https://github.com/ruby/rake
|
108
|
+
licenses:
|
109
|
+
- MIT
|
110
|
+
metadata: {}
|
111
|
+
post_install_message:
|
112
|
+
rdoc_options:
|
113
|
+
- "--main"
|
114
|
+
- README.rdoc
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '2.2'
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 1.3.2
|
127
|
+
requirements: []
|
128
|
+
rubygems_version: 3.0.3
|
129
|
+
signing_key:
|
130
|
+
specification_version: 4
|
131
|
+
summary: Rake is a Make-like program implemented in Ruby
|
132
|
+
test_files: []
|