forked from mootcube/cope
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env perl | ||
use App::Cope; | ||
$App::Cope::line_buffered = 0; | ||
|
||
sub process { | ||
|
||
# Downloading/unpacking pyrg | ||
line qr{^Downloading/unpacking (.*)} => 'blue bold'; | ||
|
||
# Downloading pyrg-0.2.6.tar.gz | ||
line qr{Downloading (.*)} => 'yellow'; | ||
|
||
# Running setup.py egg_info for package pyrg | ||
line qr{Running setup.py egg_info for package (.*)} => 'blue bold'; | ||
|
||
# Installing collected packages: pyrg | ||
line qr{^Installing collected packages: (.*)} => 'blue bold'; | ||
|
||
# Running setup.py install for pyrg | ||
line qr{Running setup.py install for (.*)} => 'blue bold'; | ||
|
||
# Installing pyrg script to /usr/local/bin | ||
line qr{^Running setup.py for package (.*)} => 'blue bold'; | ||
|
||
# Successfully installed pyrg | ||
line qr{(Successfully installed) (.*)} => 'green', 'blue bold'; | ||
|
||
# Successfully uninstalled pyrg | ||
line qr{(Successfully uninstalled) (.*)} => 'red', 'blue bold'; | ||
|
||
# Uninstalling pyrg: | ||
line qr{^Uninstalling (.*):} => 'blue bold'; | ||
|
||
# Proceed (y/n)? y | ||
line qr{\(([Yy])/([Nn])\)\?} => 'green', 'red'; | ||
} | ||
run( \&process, real_path, @ARGV ); |