Create  Edit  Diff  FrontPage  Index  Search  Changes  History  RSS  Source  Login

CommandLineInvocation - History


  • Added words are showed as here.
  • Removed words are showed as here.
//CommandLineInvocation
//2. Command Line Invocation
//2. コマンドライン

//!2.1 Usage
!2.1 使い方
//Rake is invoked from the command line using:
Rake はコマンドラインより実行されます。

% rake [options ...]  [VAR=VALUE]  [targets ...]

//Options are:
!!オプション

!!!name=value
//Set the environment variable name to value during the execution of the rake command. You can access the value by using ENV[’name’].
rake コマンドに適用する環境変数を、value に指定します。ENV[’name’] を用いて value にアクセスすることができます。

!!!―classic-namespace (-C)
//Put Task and FileTask in the top level namespace
タスクとファイルタスクを、トップレベルの namespace に置きます。

!!!―dry-run (-n)
//Do a dry run. Print the tasks invoked and executed, but do not actually execute any of the actions.
何も実施せず、その内容のみを表示します。

!!!―help (-H)
//Display some help text and exit.
ヘルプを表示します。

!!!―libdir directory (-I)
//Add directory to the list of directories searched for require.
require されるディレクトリを追加します。

!!!―nosearch (-N)
//Do not search for a Rakefile in parent directories.
親ディレクトリにさかのぼって Rakefile を探さないようにします。

!!!―prereqs (-P)
//Display a list of all tasks and their immediate prerequisites.
すべてのタスクと前提条件を、リストアップします。

!!!―quiet (-q)
//Do not echo commands from FileUtils.
詳細なメッセージを表示しないようにします(FileUtils のメッセージを非表示)。

!!!―rakefile filename (-f)
//Use filename as the name of the rakefile. The default rakefile names are rakefile and Rakefile (with rakefile taking precedence). If the rakefile is not found in the current directory, rake will search parent directories for a match. The directory where the Rakefile is found will become the current directory for the actions executed in the Rakefile.
明示的に rakefile 名を指定します。デフォルトでは rakefile か Rakefile が選ばれます(rakefile が優先されます)。カレントディレクトリで rakefile が見つからない場合は、親ディレクトリを探します。rakefile が見つかったディレクトリは、実行時にカレントディレクトリとして扱われます。

!!!―require name (-r)
//Require name before executing the Rakefile.
Rakefile が実行される前に、require するファイルを指定します。

!!!―tasks (-T)
//Display a list of the major tasks and their comments. Comments are defined using the “desc” command.
すべてのタスクとそのコメントを、リストアップします。コメントは desc メソッドで定義します。

!!!―trace (-t)
//Turn on invoke/execute tracing. Also enable full backtrace on errors.
トレースを on にします。また、エラーに関するバックトレースも on にします。

!!!―usage (-h)
//Display a usage message and exit.
使い方を表示します。

!!!―verbose (-v)
//Echo the Sys commands to standard output.
詳細なメッセージを表示するようにします。

!!!―version (-V)
//Display the program version and exit.
バージョンを表示します。

Last modified:2024/03/28 22:38:18
Keyword(s):
References: