You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ripple.apache.org by ti...@apache.org on 2015/09/03 03:46:47 UTC

incubator-ripple git commit: Remove dredd.txt and fail.txt.

Repository: incubator-ripple
Updated Branches:
  refs/heads/master 2b78ce81e -> 08af2c844


Remove dredd.txt and fail.txt.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ripple/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ripple/commit/08af2c84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ripple/tree/08af2c84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ripple/diff/08af2c84

Branch: refs/heads/master
Commit: 08af2c844f2065878ac75b81fc5350c60793461c
Parents: 2b78ce8
Author: Tim Barham <ti...@microsoft.com>
Authored: Sat Aug 29 12:06:03 2015 +1000
Committer: Tim Barham <ti...@microsoft.com>
Committed: Sat Aug 29 12:06:03 2015 +1000

----------------------------------------------------------------------
 build/build.js       | 10 +++++-----
 build/deploy.js      | 12 ++++++------
 thirdparty/dredd.txt | 21 ---------------------
 thirdparty/fail.txt  | 21 ---------------------
 4 files changed, 11 insertions(+), 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/08af2c84/build/build.js
----------------------------------------------------------------------
diff --git a/build/build.js b/build/build.js
index 67c4001..84f98b5 100644
--- a/build/build.js
+++ b/build/build.js
@@ -18,22 +18,22 @@
  * under the License.
  *
  */
-var fs = require('fs'),
+var colors = require('colors'),
     jWorkflow = require('jWorkflow'),
     quotes = require('./quotes'),
     pack = require('./pack'),
     clean = require('./clean'),
-    _c = require('./conf'),
     compress = require('./compress'),
     hosted = require('./targets/hosted');
 
+colors.mode = "console";
+
 function _done(error) {
     if (error) {
-        process.stdout.write(fs.readFileSync(_c.THIRDPARTY + "fail.txt", "utf-8"));
-        process.stdout.write(error);
+        console.log("Build failed: ".red + error.toString().red);
         process.exit(1);
     } else {
-        process.stdout.write(fs.readFileSync(_c.THIRDPARTY + "dredd.txt", "utf-8"));
+        console.log("Build succeeded.".green);
         quotes.random();
         process.exit();
     }

http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/08af2c84/build/deploy.js
----------------------------------------------------------------------
diff --git a/build/deploy.js b/build/deploy.js
index 2be441c..95d44b2 100644
--- a/build/deploy.js
+++ b/build/deploy.js
@@ -18,16 +18,16 @@
  * under the License.
  *
  */
-var lint = require('./lint'),
+var colors = require('colors'),
+    lint = require('./lint'),
     build = require('./build'),
-    test = require('./test'),
-    fs = require('fs'),
-    _c = require('./conf'),
-    fail = fs.readFileSync(_c.THIRDPARTY + "fail.txt", "utf-8");
+    test = require('./test');
+
+colors.mode = "console";
 
 function ok(code) {
     if (code !== 0) {
-        process.stdout.write(fail);
+        console.log('Deploy failed.'.red);
         process.exit(code);
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/08af2c84/thirdparty/dredd.txt
----------------------------------------------------------------------
diff --git a/thirdparty/dredd.txt b/thirdparty/dredd.txt
deleted file mode 100644
index d5f69ea..0000000
--- a/thirdparty/dredd.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-                      ______
-                   ,-~   _  ^^~-.,
-                 ,^        -,____ ^,         ,/\/\/\,
-                /           (____)  |      S~        ~7
-               ;  .---._    | | || _|     S  I AM THE  Z
-               | |      ~-.,\ | |!/ |     /_   LAW!   _\
-               ( |    ~<-.,_^\|_7^ ,|     _//_      _\
-               | |      ", 77>   (T/|   _/'   \/\/\/
-               |  \_      )/<,/^\)i(|
-               (    ^~-,  |________||
-               ^!,_    / /, ,'^~^',!!_,..---.
-                \_ "-./ /   (-~^~-))' =,__,..>-,
-                  ^-,__/#w,_  '^' /~-,_/^\      )
-               /\  ( <_    ^~~--T^ ~=, \  \_,-=~^\
-  .-==,    _,=^_,.-"_  ^~*.(_  /_)    \ \,=\      )
- /-~;  \,-~ .-~  _,/ \    ___[8]_      \ T_),--~^^)
-   _/   \,,..==~^_,.=,\   _.-~O   ~     \_\_\_,.-=}
- ,{       _,.-<~^\  \ \\      ()  .=~^^~=. \_\_,./
-,{ ^T^ _ /  \  \  \  \ \)    [|   \oDREDD >
-  ^T~ ^ { \  \ _\.-|=-T~\\    () ()\<||>,' )
-   +     \ |=~T  !       Y    [|()  \ ,'  / -naughty

http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/08af2c84/thirdparty/fail.txt
----------------------------------------------------------------------
diff --git a/thirdparty/fail.txt b/thirdparty/fail.txt
deleted file mode 100644
index c52e866..0000000
--- a/thirdparty/fail.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-•.................,.-‘”..........``~.,
-..............,.-”..................“-.,
-.............,/.......................”:,
-..........,?.............................\,
-........./................................,}
-........./............................,:`^`.}
-......../............................,:”..../
-.......?...__........................:`..../
-......./__.(...“~-,_..............,:`....../
-....../(_..”~,_.....“~,_..........,:`...._/
-......{.._$;_...”=,_....“-,_...,.-~-,},.~”;/.}
-......((...*~_....”=-._...“;,,./`../”../.../
-.......\`~,....“~.,...........`...}...../
-......(...`=-,,....`..............(.;_,,-”
-......./.`~,....`-.................\../\
-......\`~.*-,...................|,./.....\,__
-,,_.....}.>-._\..................|........`=~-,
-...`=~-,_\_...`\,.................\........\=
-..........`=~-,,.\,................\........__
-................`:,,..............`\........__
-...................`=-,..........,%`>--