From 285d651dd2d3dec1a779cdec7e3c5b7d68c41939 Mon Sep 17 00:00:00 2001 From: scribu Date: Wed, 2 Jan 2013 10:15:32 +0200 Subject: [PATCH] remove site-related utilities (moved to site repo) --- utils/cmd-list.php | 26 -------------------------- utils/compare-cmd | 22 ---------------------- utils/syn-list.php | 26 -------------------------- utils/utils.php | 18 ------------------ 4 files changed, 92 deletions(-) delete mode 100644 utils/cmd-list.php delete mode 100755 utils/compare-cmd delete mode 100644 utils/syn-list.php delete mode 100644 utils/utils.php diff --git a/utils/cmd-list.php b/utils/cmd-list.php deleted file mode 100644 index a24a6578..00000000 --- a/utils/cmd-list.php +++ /dev/null @@ -1,26 +0,0 @@ - - {$command['name']} - {$command['description']} - - -EOB; -} - diff --git a/utils/compare-cmd b/utils/compare-cmd deleted file mode 100755 index 744d512b..00000000 --- a/utils/compare-cmd +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# utility for comparing commands between two different wp-cli versions. - -if [ $# -lt 3 ]; then - echo 'usage: ' - exit 1 -fi - -wp_path=$3 - -get_syn_list() { - git checkout $1 - wp --path=$wp_path --cmd-dump | php $(dirname $0)/syn-list.php -} - -get_syn_list $1 > /tmp/wp-cli-a -get_syn_list $2 > /tmp/wp-cli-b - -diff /tmp/wp-cli-a /tmp/wp-cli-b > cmd.diff - -echo 'Generated cmd.diff' diff --git a/utils/syn-list.php b/utils/syn-list.php deleted file mode 100644 index 218511cc..00000000 --- a/utils/syn-list.php +++ /dev/null @@ -1,26 +0,0 @@ -