Build the ruby program using the rake command of linux
This article mainly introduces the use of linux rake command ruby program construction, the text is very detailed, has a certain reference value, interested friends must read!
rake is a simple ruby builder that functions like the regular make command.
rake has the following characteristics: 1. rakefile (makefile version of rake) is defined entirely in standard Ruby syntax. There are no XML files to edit. Don't worry about strange Makefile syntax;2. Users can specify tasks using prerequisites;3. rake supports regular patterns to synthesize implicit tasks;4. Flexible file manager, like arrays, but knows to manipulate file names and paths.
Syntax format: rake [parameter]
Common parameters:
Reference Example
Display tasks and descriptions:
[root@linuxcool ~]# rake -T
Include LIBDIR in the search path for the desired module:
[root@linuxcool ~]# rake -I
Do not log messages to standard output:
[root@linuxcool ~]# rake -q The above is all the content built using the Linux rake command ruby program. Thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!