348件ヒット
[1-100件を表示]
(0.235秒)
別のキーワード
ライブラリ
- rake (252)
-
rake
/ packagetask (96)
クラス
-
Rake
:: Application (60) -
Rake
:: FileList (48) -
Rake
:: FileTask (12) -
Rake
:: InvocationChain (12) -
Rake
:: NameSpace (24) -
Rake
:: PackageTask (96) -
Rake
:: TaskArguments (12)
モジュール
-
Rake
:: Cloneable (12) -
Rake
:: TaskManager (72)
キーワード
- [] (24)
- append (12)
-
current
_ scope (12) - dup (12)
- gsub! (12)
- import (12)
-
in
_ namespace (12) -
last
_ comment (12) -
last
_ description (12) - lookup (12)
- name (24)
-
need
_ tar (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ gz (12) -
need
_ zip (12) -
new
_ scope (12) -
original
_ dir (12) -
package
_ dir (12) -
package
_ dir _ path (12) -
package
_ files (12) - pathmap (12)
- sub! (12)
- tasks (12)
-
top
_ level _ tasks (12)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (21236.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: PackageTask # package _ dir _ path -> String (15313.0) -
パッケージに含むファイルを配置するディレクトリを返します。
...パッケージに含むファイルを配置するディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}... -
Rake
:: PackageTask # package _ dir -> String (9207.0) -
パッケージに入れるファイルを保存するディレクトリ名を返します。
...パッケージに入れるファイルを保存するディレクトリ名を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir # => "pkg"
end
//}... -
Rake
:: PackageTask # package _ files -> Rake :: FileList (9207.0) -
パッケージに含むファイルリストを返します。
...[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_files # => []
package_task.package_files.include("*.rb")
package_task.package_fil... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (6307.0) -
与えられた名前の名前空間でブロックを評価します。
...クを評価します。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"... -
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (6219.0) -
与えられたパラメータ名のリストを使用して新しい Rake::TaskArguments を作成します。
...。
@param names パラメータ名のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
new_arguments = arguments.new_scope(["na......me3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}... -
Rake
:: Application # options -> OpenStruct (6207.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ンを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_sta......ts=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}... -
Rake
:: Application # top _ level _ tasks -> Array (6207.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}... -
Rake
:: Cloneable # dup -> object (6207.0) -
自身と同じクラスのオブジェクトを作成後、自身のインスタンス変数を 全て新たに作成したオブジェクトにコピーします。
...クトにコピーします。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.freeze
dup = file_list.dup
clone = file_list.clone
dup.exclude("a.c") # => ["b.c"]
clone.exclude("a.c"...