📄 02 - cleaning up generated files.rb
字号:
require 'rake/clean'# Include the "pkg" and "doc" directories and their contents.# Include all files ending in ".o" in the current directory# and its subdirectories (recursively).CLOBBER.include('pkg', 'doc', '**/*.o')# Include InstalledFiles and .config: files created by setup.rb.# Include temporary files created during test run.CLEAN.include('InstalledFiles', '.config', 'test/**/*.tmp')#---desc 'Remove all object files.'task 'clobber_objects' do rm_f FileList['**/*.o']end# Make clobber_objects a prerequisite of the preexisting clobber tasktask 'clobber' => 'clobber_objects'#---
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -