Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1058 from urbit/next
Browse files Browse the repository at this point in the history
release "next"
  • Loading branch information
ixv authored Feb 6, 2019
2 parents 580fa5c + 739bb62 commit 70c771f
Show file tree
Hide file tree
Showing 21 changed files with 605 additions and 1,054 deletions.
2 changes: 1 addition & 1 deletion .travis/pin-vere-commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
051f31b31e45c57aee5542522c5c38e146f3e012
315634d99b0a0d7760267eacc0b32465e03ea981
26 changes: 20 additions & 6 deletions .travis/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var actions = runner.actions
var args = ['-B', 'urbit.pill', '-A', '..', '-cSF', 'zod', 'zod'];
var urbit = new Urbit(args);

// XX upstream the following into runner-js
// XX upstream this into runner-js
//
function rePill(urb) {
return new Promise(function(resolve,reject){
Expand Down Expand Up @@ -59,6 +59,11 @@ function rePill(urb) {

return read.pipe(write)
})
// XX find a better way to add this to the promise chain
//
.then(function(){
return barMass(urb);
})
.catch(function(err){
return reject(err)
});
Expand All @@ -67,6 +72,16 @@ function rePill(urb) {
})
}

// XX upstream this into runner-js
//
function barMass(urb) {
return urb.line("|mass")
.then(function(){
return urb.expectEcho("%ran-mass")
.then(function(){ return urb.resetListeners(); })
})
}

Promise.resolve(urbit)
// XX temporary
// send ctrl-x to select dojo
Expand All @@ -79,15 +94,14 @@ Promise.resolve(urbit)
.then(function() { return urbit })
})
.then(actions.safeBoot)
.then(function(){
return barMass(urbit);
})
.then(actions.test)
.then(actions.testCores)
.then(actions.testRenderers)
.then(function(){
return urbit.line("|mass")
.then(function(){
return urbit.expectEcho("%ran-mass")
.then(function(){ return urbit.resetListeners(); })
})
return barMass(urbit);
})
.then(function(){
return rePill(urbit);
Expand Down
Loading

0 comments on commit 70c771f

Please sign in to comment.