Skip to content

Commit

Permalink
Update Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 20, 2024
1 parent 2f7831b commit ff667cb
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"

Expand All @@ -11,23 +9,8 @@ end

require "rake/extensiontask"

task build: :compile

Rake::ExtensionTask.new("bigwigext") do |ext|
Rake::ExtensionTask.new do |ext|
ext.name = "bigwigext"
ext.ext_dir = "ext/bio/bigwig"
ext.lib_dir = "lib/bio/bigwig"
end

desc "Remove object file"
task :remove_object_file do
Dir["ext/**/*.{o,bundle}"].each do |f|
FileUtils.rm(f)
end
end

task default: %i[
clobber
compile
remove_object_file
test
]

0 comments on commit ff667cb

Please sign in to comment.