mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-24 01:07:52 -05:00
10 lines
305 B
Ruby
Executable File
10 lines
305 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require 'set'
|
|
|
|
changed_file_list = `git diff --name-only --diff-filter=ACMRTUXB origin/dev...`
|
|
files = Set.new changed_file_list.split
|
|
if (files.include? "Gemfile") && !(files.include? "Gemfile.lock")
|
|
abort "Looks like you committed changes to Gemfile but not Gemfile.lock\n\n"
|
|
end
|