⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 02 - cleaning up generated files.rb

📁 O Reilly Ruby Cookbook source code
💻 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 + -