diff options
| author | _Tradam <[email protected]> | 2021-12-30 07:34:26 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-30 07:34:26 -0500 |
| commit | b535a6b1bd8019dbeba17f3853b338383208c9b3 (patch) | |
| tree | a1feb0d69557f1a24f9884567d0d939c129c6447 /Rakefile | |
| parent | 5ef652300e71b572ca58b061610d606840ce19a9 (diff) | |
| parent | 3104eaf4ca0515572aeedc114cb6095a07825d90 (diff) | |
| download | FelECS-b535a6b1bd8019dbeba17f3853b338383208c9b3.tar.gz FelECS-b535a6b1bd8019dbeba17f3853b338383208c9b3.zip | |
Merge pull request #13 from realtradam/revert-12-arry
Revert "Major 4.0 update (#12)"
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -11,26 +11,6 @@ require "rubocop/rake_task" task :default => [:spec, :yard, 'coverage:format'] #task default: :rubocop -desc 'Export to single file' -task :buildfile do - result = '' - main = File.read('lib/felflame.rb') - tmp = main.lines(chomp: true).select do |line| - line.include? "require_relative " - end - tmp.each do |file| - file.delete_prefix!("require_relative ") - result += File.read("lib/#{file[1,file.length-2]}.rb") + "\n" - end - - result += main.lines.reject do |line| - line.include? "require_relative " - end.join - - `mkdir pkg` - File.write('pkg/felflame.rb', result) -end - RuboCop::RakeTask.new namespace :coverage do |
