From 7c75526d8cde28565734754daf61cdb5ff28cc26 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 24 Jan 2016 18:06:24 -0600 Subject: [PATCH] reorganize development tools to ".\tools" --- bin/refresh.ps1 | 19 ------------------- {bin => tools}/checkver.ps1 | 0 {bin => tools}/test.ps1 | 0 {bin => tools}/uninstall.ps1 | 0 4 files changed, 19 deletions(-) delete mode 100644 bin/refresh.ps1 rename {bin => tools}/checkver.ps1 (100%) rename {bin => tools}/test.ps1 (100%) rename {bin => tools}/uninstall.ps1 (100%) diff --git a/bin/refresh.ps1 b/bin/refresh.ps1 deleted file mode 100644 index 20c07c2ccc..0000000000 --- a/bin/refresh.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -# for development, update the installed scripts to match local source -. "$psscriptroot\..\lib\core.ps1" - -$src = relpath ".." -$dest = ensure (versiondir 'scoop' 'current') - -# make sure not running from the installed directory -if("$src" -eq "$dest") { abort "$(strip_ext $myinvocation.mycommand.name) is for development only" } - -'copying files...' -$output = robocopy $src $dest /mir /njh /njs /nfl /ndl /xd .git tmp /xf .DS_Store last_updated - -$output | where-object { $_ -ne "" } - -write-output 'creating shim...' -shim "$dest\bin\scoop.ps1" $false - -ensure_scoop_in_path -success 'scoop was refreshed!' diff --git a/bin/checkver.ps1 b/tools/checkver.ps1 similarity index 100% rename from bin/checkver.ps1 rename to tools/checkver.ps1 diff --git a/bin/test.ps1 b/tools/test.ps1 similarity index 100% rename from bin/test.ps1 rename to tools/test.ps1 diff --git a/bin/uninstall.ps1 b/tools/uninstall.ps1 similarity index 100% rename from bin/uninstall.ps1 rename to tools/uninstall.ps1