Rake 작업 내에서 Rake 작업을 실행하는 방법은 무엇입니까? 전역 변수에 따라 두 가지 방법으로 프로젝트를 컴파일하는 Rakefile이 $build_type있습니다 ( :debug또는 :release결과는 별도의 디렉토리에 있음). task :build => [:some_other_tasks] do end 다음과 같이 두 가지 구성으로 프로젝트를 컴파일하는 작업을 만들고 싶습니다. task :build_all do [ :debug, :release ].each do |t| $build_type = t # call task :build with all the tasks it depends on (?) end end 메서드처럼 작업을 호출하는 방법이 있습니까? 아니면 어떻게 비슷한 것을 얻을 수 있습니..