Skip to content

Commit 940e372

Browse files
committed
rake: Disable doxyrest for speed
1 parent 398ece6 commit 940e372

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

Rakefile

+27-26
Original file line numberDiff line numberDiff line change
@@ -86,32 +86,33 @@ namespace "api" do
8686
desc "Build doxyrest API"
8787
task :mkDoxyRest, [:builder, :runner] => "api:mkDoxy" do |task, args|
8888
args.with_defaults(:builder => "html", :runner => "system")
89-
Dir.chdir(to = CWD)
90-
if args.runner == "system"
91-
if find_executable "doxyrest"
92-
sh "doxyrest -c #{DOXLUA}"
93-
elsif find_executable "nix"
94-
begin
95-
puts "System has no doxyrest, trying nix"
96-
sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
97-
rescue
98-
puts "Falling back to conda"
99-
sh "conda run doxyrest -c #{DOXLUA}"
100-
end
101-
else
102-
raise ExecException.new
103-
end
104-
elsif args.runner == "nix"
105-
begin
106-
puts "System has no doxyrest, trying nix"
107-
sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
108-
rescue
109-
puts "Falling back to conda"
110-
sh "conda run doxyrest -c #{DOXLUA}"
111-
end
112-
else
113-
raise RunnerException.new
114-
end
89+
puts "Disabled for now"
90+
# Dir.chdir(to = CWD)
91+
# if args.runner == "system"
92+
# if find_executable "doxyrest"
93+
# sh "doxyrest -c #{DOXLUA}"
94+
# elsif find_executable "nix"
95+
# begin
96+
# puts "System has no doxyrest, trying nix"
97+
# sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
98+
# rescue
99+
# puts "Falling back to conda"
100+
# sh "conda run doxyrest -c #{DOXLUA}"
101+
# end
102+
# else
103+
# raise ExecException.new
104+
# end
105+
# elsif args.runner == "nix"
106+
# begin
107+
# puts "System has no doxyrest, trying nix"
108+
# sh "nix-shell #{NIXSHELL} --run 'doxyrest -c #{DOXLUA}'"
109+
# rescue
110+
# puts "Falling back to conda"
111+
# sh "conda run doxyrest -c #{DOXLUA}"
112+
# end
113+
# else
114+
# raise RunnerException.new
115+
# end
115116
end
116117

117118
desc "Build Sphinx API docs"

0 commit comments

Comments
 (0)