Sha256: ed766f4e3018341327caf1efc0f6da7305bd53915d4a96b452d6a2792f96c839
Contents?: true
Size: 500 Bytes
Versions: 7
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true include :exec include :terminal def run_stage(name, tool) if exec_tool(tool).success? puts("** #{name} passed **", :green, :bold) puts else puts("** CI terminated: #{name} failed!", :red, :bold) exit(1) end end def run run_stage("Style Checker", ["rubocop"]) run_stage("Typecheck", ["tc"]) run_stage("Verify Sigils", ["spoom", "verify"]) run_stage("Verify Sorbet DSL RBIs", ["rbi", "dsl", "--verify"]) run_stage("Tests", ["test"]) end
Version data entries
7 entries across 7 versions & 1 rubygems