summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-05-25 15:02:05 -0400
committerrealtradam <[email protected]>2023-05-25 15:02:05 -0400
commit87727cdfbcb3d93f2a3216ab8dc20f40d5cfe985 (patch)
tree86ead27df419c9e8a9aa35177f2dfd2ce1a43bdc /Rakefile
parent9f43631fa25346db798ebe3c3358ff4ae4377601 (diff)
downloadFelBind-87727cdfbcb3d93f2a3216ab8dc20f40d5cfe985.tar.gz
FelBind-87727cdfbcb3d93f2a3216ab8dc20f40d5cfe985.zip
basic params
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile27
1 files changed, 5 insertions, 22 deletions
diff --git a/Rakefile b/Rakefile
index 986a40b..1924143 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,25 +1,8 @@
-require_relative 'scan.rb'
-require_relative 'generate.rb'
+# frozen_string_literal: true
-desc 'create parsed file with ctags'
-task :scan do
- # for each file in target directory
- # parse file
- # output to build/parse
- Dir.mkdir('build') unless File.exists?('build')
- Dir.each_child('target') do |file|
- Scan.scan("target/#{file}", 'build/parsed.json')
- end
-end
+require "bundler/gem_tasks"
+require "rubocop/rake_task"
-desc 'build bindings from the parsed file'
-task :generate do
- # read parse file
- # output to build/bind
- Generate.generate('build/parsed.json', '../FelFlameEngine/mrbgems/mruby-raylib/src/bind.c')
-end
+RuboCop::RakeTask.new
-task :make_gem do
- # read bind file
- # output to build/gem
-end
+task default: :rubocop