GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — flightbyte-ruby/Rakefile at main · FlightByte-dev/flightbyte-ruby Expand file tree/ Copy pathRakefileMore file actions 38 lines (30 loc) · 983 Bytes / Copy pathRakefileFile metadata and controls38 lines (30 loc) · 983 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 # frozen_string_literal: true require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "lib" << "test" t.test_files = FileList["test/**/*_test.rb"] t.warning = true end begin require "rubocop/rake_task" RuboCop::RakeTask.new(:rubocop) rescue LoadError desc "Run RuboCop (not installed)" task(:rubocop) { abort "RuboCop is not installed: run bundle install." } end desc "Validate the type signatures in sig/" task :rbs do sh "rbs", "-r", "date", "-I", "sig", "validate" end desc "Build the gem into pkg/" task :build do mkdir_p "pkg" sh "gem build flightbyte.gemspec --output pkg/flightbyte-#{Gem::Specification.load("flightbyte.gemspec").version}.gem" end desc "Refresh spec/openapi.json from the API (or URL=...), then run the tests against it" task :sync_openapi do ruby "tool/sync_openapi.rb", *ENV.fetch("URL", nil).to_s.split end desc "Run RuboCop, the signature check and the tests" task check: %i[rubocop rbs test] task default: :check |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |