diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-05 23:58:25 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-05 23:58:25 +0100 |
commit | 6827b1d3d99e4e05fc2012896c9e2d941297b7ed (patch) | |
tree | 3b79e752d680f879a6f9b5d284bc42ba9c3cffb6 | |
parent | d6c87445aa63af62cf5b93d546807afc2429e7fd (diff) | |
download | bugzilla-6827b1d3d99e4e05fc2012896c9e2d941297b7ed.tar.gz bugzilla-6827b1d3d99e4e05fc2012896c9e2d941297b7ed.tar.xz |
Reverted addition of contrib/new-yui3.pl from revision 8448
-rwxr-xr-x | contrib/new-yui3.pl | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/contrib/new-yui3.pl b/contrib/new-yui3.pl deleted file mode 100755 index c593cc3a2..000000000 --- a/contrib/new-yui3.pl +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/perl -w -# -# Updates the version of YUI3 used by Bugzilla. Just pass the path to -# an unzipped yui release directory, like: -# -# contrib/new-yui3.pl /path/to/yui3/ -# - -use strict; - -use File::Copy::Recursive qw(dircopy); -use File::Find; -use File::Basename; - -my $SOURCE_PATH = shift; -my $DEST_PATH = shift; - - -dircopy("$SOURCE_PATH/build", $DEST_PATH) || die $!; - -find( - sub { - my $delete = 0; - my $filename = basename $File::Find::name; - if ($filename =~ /-debug\.js$/ - || $filename =~ /-coverage\.js$/ - || $filename =~ /-skin\.css$/) - - { - $delete = 1; - } - elsif ($filename =~ /-min\.js/) { - $filename =~ s/-min//; - $delete = 1; - } - return if !$delete; - print "deleting $filename\n"; - unlink($filename) || die $!; - }, - $DEST_PATH -); |