summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-12-30 07:34:26 -0500
committerGitHub <[email protected]>2021-12-30 07:34:26 -0500
commitb535a6b1bd8019dbeba17f3853b338383208c9b3 (patch)
treea1feb0d69557f1a24f9884567d0d939c129c6447 /Rakefile
parent5ef652300e71b572ca58b061610d606840ce19a9 (diff)
parent3104eaf4ca0515572aeedc114cb6095a07825d90 (diff)
downloadFelECS-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--Rakefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/Rakefile b/Rakefile
index f7d8c6c..edf99bc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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