bsdcontrol.rb/Rakefile.rb

10 lines
243 B
Ruby
Raw Normal View History

2024-03-01 02:29:43 +01:00
require "bundler/setup"
require "rake/extensiontask"
Rake::ExtensionTask.new("hbsdctl.rb")
task default: %w[clobber compile test]
2024-03-07 05:34:34 +01:00
desc "Run C linter"
task :styleguide do
sh "uncrustify -c .styleguide.cfg --no-backup ext/hbsdctl.rb/*.c"
end