66件ヒット
[1-66件を表示]
(0.017秒)
クラス
-
Rake
:: MakefileLoader (11) -
Rake
:: Task (33)
モジュール
-
Rake
:: TaskManager (22)
キーワード
- comment= (11)
-
full
_ comment (11) -
last
_ comment (11) -
last
_ description (11) - load (11)
検索結果
先頭5件
-
Rake
:: Task # comment -> String (18103.0) -
自身の短いコメントを返します。
自身の短いコメントを返します。 -
Rake
:: Task # comment=(comment) (6210.0) -
自身のコメントをセットします。
...自身のコメントをセットします。
与えられた文字列が 50 文字を越える場合や複数行である場合は文字列を切り詰めます。
@param comment コメントをあらわす文字列を指定します。... -
Rake
:: Task # full _ comment -> String (6103.0) -
自身のコメントを全て返します。
自身のコメントを全て返します。 -
Rake
:: TaskManager # last _ comment -> String (6103.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a... -
Rake
:: TaskManager # last _ description -> String (3003.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a... -
Rake
:: MakefileLoader # load(filename) (7.0) -
与えられた Makefile をロードします。
...指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"
task default: :test_rake_app
open "sample.mf", "w" do |io|
io << <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b: b1 b2 b3 \
b4 b5 b6\
# Mid: Comment
b7
a : a5 a6 a7
c: c1
d: d1 d2 \
e f : e1......f1
g\ 0: g1 g\ 2 g\ 3 g4
SAMPLE_MF
end
task :test_rake_app do |task|
loader = Rake::MakefileLoader.new
loader.load("sample.mf")
p Rake::Task.task_defined?("a") # => true
p Rake::Task.tasks[0] # => <Rake::FileTask a => [a1, a2, a3, a4, a5, a6, a7]>
end
//}...