Sha256: 6d7df037b5e0a47949390f5d29820b0933c2e5b83dea9aff80bd7974a265302a
Contents?: true
Size: 487 Bytes
Versions: 8
Compression:
Stored size: 487 Bytes
Contents
#!/usr/bin/env ruby # Feed Makefile to this script to set all variables XXX_VER to latest versions require 'English' tty = $stdout.tty? ARGF.each do |line| if (name = line[/^([A-Z]+)_VER *:= *.*/, 1]) $stderr << name << ' := ' unless tty latest_version = `script/livecheck --bare #{name}`.strip abort unless $CHILD_STATUS.success? $stderr << latest_version << "\n" unless tty $stdout << "#{name}_VER := #{latest_version}\n" else $stdout << line end end
Version data entries
8 entries across 8 versions & 1 rubygems