From ef92b418e5848a8ad1c0d67fa8758be5ef739c05 Mon Sep 17 00:00:00 2001 From: Morgan Estes Date: Fri, 9 May 2014 21:35:29 -0500 Subject: [PATCH 1/2] Moving to NetBeans PHP nightly after version 8.0 was released. --- Casks/netbeans-php-beta8.rb | 13 ------------- Casks/netbeans-php-nightly.rb | 7 +++++++ 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 Casks/netbeans-php-beta8.rb create mode 100644 Casks/netbeans-php-nightly.rb diff --git a/Casks/netbeans-php-beta8.rb b/Casks/netbeans-php-beta8.rb deleted file mode 100644 index 92224b192..000000000 --- a/Casks/netbeans-php-beta8.rb +++ /dev/null @@ -1,13 +0,0 @@ -class NetbeansPhpBeta8 < Cask - url 'http://dlc.sun.com.edgesuite.net/netbeans/8.0/beta/bundles/netbeans-8.0beta-php-macosx.dmg' - homepage 'http://dlc.sun.com.edgesuite.net/netbeans/8.0/beta/' - version '8.0 Beta' - sha256 '3b1a3a9cc4980877b6a9e29a6147d12bbbfb2a38423ed99a883e024b9c21ea7d' - install 'NetBeans 8.0 Beta.mpkg' - - # Following example of the stable netbeans-php - uninstall( - :pkgutil => 'org.netbeans.ide.*|glassfish-.*', - :files => '/Applications/NetBeans' - ) -end diff --git a/Casks/netbeans-php-nightly.rb b/Casks/netbeans-php-nightly.rb new file mode 100644 index 000000000..703a44e77 --- /dev/null +++ b/Casks/netbeans-php-nightly.rb @@ -0,0 +1,7 @@ +class NetbeansPhpNightly < Cask + url 'http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-201405090001-php-macosx.dmg' + homepage 'https://netbeans.org/' + version '201405090001' + sha256 '77ae100aa581507f88b40392a13e0109742fda0b18c2ca226a0cc436c694841a' + install 'NetBeans Dev 201405090001.mpkg' +end From 283ccca0abc5c1751d182b9fc1cca3e4e4be29f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Tue, 27 May 2014 01:24:58 +0100 Subject: [PATCH 2/2] updated netbeans-php-nightly - Simplyfied version changing - Added uninstall --- Casks/netbeans-php-nightly.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Casks/netbeans-php-nightly.rb b/Casks/netbeans-php-nightly.rb index 703a44e77..8afdca8b4 100644 --- a/Casks/netbeans-php-nightly.rb +++ b/Casks/netbeans-php-nightly.rb @@ -1,7 +1,12 @@ class NetbeansPhpNightly < Cask - url 'http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-201405090001-php-macosx.dmg' homepage 'https://netbeans.org/' - version '201405090001' - sha256 '77ae100aa581507f88b40392a13e0109742fda0b18c2ca226a0cc436c694841a' - install 'NetBeans Dev 201405090001.mpkg' + version '201405260001' + sha256 '310e50c21614ec748ddbc3657b3dc51634ec5831ae28a18d76cff1c2c29d0088' + + url "http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-#{version}-php-macosx.dmg" + install "NetBeans Dev #{version}.mpkg" + + uninstall :files => [ + '/Applications/NetBeans' + ] end