Skip to content

Instantly share code, notes, and snippets.

var ReactiveValue = function(value) {
var dep = new Deps.Dependency();
this.get = function() {
dep.depend();
return value;
}
this.set = function(newValue) {
if (value === newValue) return;
value = newValue;
dep.changed();
@jareiko
jareiko / codeship-meteor-script.md
Last active March 6, 2016 00:03
Deploying to Meteor with Codeship.io

Deploying to Meteor with Codeship.io

Project structure

You'll need to use a subdirectory within your git repo for the Meteor project. This allows you to clone Meteor into your repo without it trying to deploy itself. If you find a better way, please let me know.

Provide the name of the subdirectory to the deploy script with the SUBDIRECTORY environment variable.