homebrew-cask/developer/bin
Trey Harris 31d4bf8ce3 Refactor {develop,production}_brew_cask
Almost all of these two scripts are identical. Refactor out the common
bits, saving over 60 lines of repetition.

Right now this is handled by moving all the logic into "develop_brew_cask"
and symlinking "production_brew_cask".

This will be followed by another patch to add a "manage_brew_cask_links"
command to do the same with sub-commands, e.g.,
  manage_brew_cask_links status
returns "production" or "develop",
  manage_brew_cask_links production
does the same as production_brew_cask,
  manage_brew_cask_links develop
does the same as develop_brew_cask, etc. At that point, I'd like to
rename the script "manage_brew_cask_links" and have the two present
names be symlinked to that.

This was motivated by (besides DRY) getting tired of having to
manually check symlinks to see which state I was currently in.
2014-09-14 17:24:39 -04:00
..
bump_version devscript: add bump_version script for releasing 2014-02-15 10:53:52 -05:00
cask_namer expand trailing '+' when not part of version number 2014-06-06 09:50:01 -04:00
develop_brew_cask Refactor {develop,production}_brew_cask 2014-09-14 17:24:39 -04:00
generate_changelog updates to release process after v0.40.0 2014-09-08 11:24:38 -04:00
generate_man_pages improve warn construct 2014-05-22 10:29:26 -04:00
get_release_tag add missing quotes 2014-05-22 10:48:29 -04:00
list_apps_in_pkg replace backticks with $() 2014-05-22 10:47:02 -04:00
list_id_in_kext devscripts: prefer GNU xargs 2014-03-08 11:40:27 -05:00
list_ids_in_app devscripts: prefer GNU xargs 2014-03-08 11:40:27 -05:00
list_ids_in_pkg replace backticks with $() 2014-05-22 10:47:02 -04:00
list_installed_launchjob_ids devscripts: prefer GNU xargs 2014-03-08 11:40:27 -05:00
list_loaded_kext_ids devscript: comments 2014-01-31 12:33:30 -05:00
list_loaded_launchjob_ids devscript: add list_loaded_launchjob_ids 2014-02-06 09:08:02 -05:00
list_payload_in_pkg devscripts: prefer GNU xargs 2014-03-08 11:40:27 -05:00
list_pkg_ids_by_regexp improve warn construct 2014-05-22 10:29:26 -04:00
list_recent_pkg_ids bugfix: "plist" was included with package ids 2014-02-07 12:38:28 -05:00
list_running_app_ids devscript: support -t opt in list_running_app_ids 2014-02-07 08:38:40 -05:00
list_url_attributes_on_file devscript: add `list_url_attributes_on_file` 2014-06-06 20:53:26 -04:00
production_brew_cask Refactor {develop,production}_brew_cask 2014-09-14 17:24:39 -04:00
project_stats updates to release process after v0.40.0 2014-09-08 11:24:38 -04:00
the_long_tail update maintainer list 2014-08-12 08:53:12 -04:00