-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (22 loc) · 756 Bytes
/
Rakefile
File metadata and controls
28 lines (22 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require "rubygems"
require "fileutils"
require "date"
require "rake/extensiontask"
require "rake/testtask"
GOSU_VERSION = ENV["GOSU_RELEASE_VERSION"] || "0.0.0"
Dir.glob("./rake/*.rb").sort.each { |task| require task }
desc "Update the C++ reference on libgosu.org (needs SSH access)"
task :update_doxygen do
sh "ssh #{ENV["PROJECTS_HOST"]} 'cd #{ENV["PROJECTS_ROOT"]}/libgosu.org/ && " +
"svn checkout https://github.com/gosu/gosu/trunk/include/Gosu && PATH=../doxygen/bin:$PATH doxygen'"
end
Rake::TestTask.new do |t|
t.verbose = true
t.warning = true
end
task :test => :compile
desc "Run all tests, even those that require human input"
task :test_interactive do
ENV["GOSU_TEST_INTERACTIVE"] = "true"
Rake::Task["test"].invoke
end