Sha256: c1c9a46bfa372779572544320f3b3f8633715e4dd795769b5c9b841b864c7092
Contents?: true
Size: 720 Bytes
Versions: 7
Compression:
Stored size: 720 Bytes
Contents
require 'git' module Semmy module Tasks class Lint < Base def define task 'lint' => ['lint:install', 'lint:locales'] namespace 'lint' do task 'install' do Shell.info('Ensuring gem can be installed.') unless RubyGems.build_and_test_install Shell.error('Test install failed.') exit(1) end end task 'locales' do Shell.info('Checking for not yet imported locales.') if Project.has_not_yet_imported_locales? Shell.error('There are still files in config/locales/new.') exit(1) end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems