Skip to content

Commit 14fdc94

Browse files
committed
Updated remove_ext for Linux [skip ci]
1 parent 00af427 commit 14fdc94

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Rakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Rake::ExtensionTask.new("or-tools") do |ext|
1414
end
1515

1616
task :remove_ext do
17-
path = "lib/or_tools/ext.bundle"
18-
File.unlink(path) if File.exist?(path)
17+
Dir["lib/or_tools/ext.{bundle,so}"].each do |path|
18+
File.unlink(path)
19+
end
1920
end
2021

2122
Rake::Task["build"].enhance [:remove_ext]

0 commit comments

Comments
 (0)