372件ヒット
[1-100件を表示]
(0.023秒)
別のキーワード
種類
- インスタンスメソッド (312)
- 特異メソッド (36)
- ライブラリ (12)
- 定数 (12)
ライブラリ
- rake (360)
クラス
-
Rake
:: Application (144) -
Rake
:: FileTask (24) -
Rake
:: NameSpace (12)
モジュール
- Rake (24)
-
Rake
:: TaskManager (156)
キーワード
-
DEFAULT
_ RAKEFILES (12) - [] (12)
-
add
_ loader (12) - application= (12)
- clear (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) -
in
_ namespace (12) - init (12)
- intern (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) -
load
_ rakefile (12) - lookup (12)
- name (12)
- needed? (12)
- new (12)
-
original
_ dir (12) -
rake
/ classic _ namespace (12) - run (12)
-
synthesize
_ file _ task (12) - tasks (12)
-
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (21141.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
. application -> Rake :: Application (18256.0) -
現在の Rake アプリケーションを返します。
...の Rake アプリケーションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @i......lib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_r... -
Rake
:: Application :: DEFAULT _ RAKEFILES -> Array (9140.0) -
デフォルトで Rakefile として扱うファイル名の配列を返します。
...デフォルトで Rakefile として扱うファイル名の配列を返します。
'rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb' が指定されています。... -
Rake
:: Application # load _ rakefile (9117.0) -
Rakefile を探してロードします。
...
Rakefile を探してロードします。... -
Rake
. application=(app) (6167.0) -
現在の Rake アプリケーションをセットします。
...m app Rake::Application のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# =>......put=#<IO:<STDERR>>, trace_rules=false>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks={},
# @terminal_columns=0,
# @top_level_tasks=... -
Rake
:: Application # add _ loader(ext , loader) (3024.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...ire "rake/loaders/makefile"
# Rakefile での記載例とする
task default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("mf", Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake......::Task.task_defined?("a") # => false
Rake.application.load_imports
Rake::Task.task_defined?("a") # => true
//}... -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (3024.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
Rake
:: Application # run (3024.0) -
Rake アプリケーションを実行します。
...下の 3 ステップを実行します。
* コマンドラインオプションを初期化します。Rake::Application#init
* タスクを定義します。Rake::Application#load_rakefile
* コマンドラインで指定されたタスクを実行します。Rake::Application#top_level... -
Rake
:: Application # tty _ output=(tty _ output _ state) (3024.0) -
TTY に対する出力状態を上書きします。
...定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
Rake.application.tty_output? # => "d...