Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use smart.json to tell meteorite to use a stable version of meteor?

Tags:

meteor

As far as I can tell, the point of meteorite is to simplify dealing with which versions of plugins and branch of meteor your project needs. But I don't want to follow the churn on a branch of meteor; I want to use a stable version. It seems as if this should be possible. How do I do it?

like image 745
Jameson Quinn Avatar asked Jan 15 '13 01:01

Jameson Quinn


2 Answers

You can specify alternate branches and forks respectively:

{
  meteor: {
    "branch": "devel",
    "git": "https://github.com/meteor/meteor.git"
  }
}

Per the documentation:

The meteor specification is not required. Meteor's public repo checked out to the master branch is the default. You can specify meteor.branch and meteor.git to use alternate branches and forks respectively.

To use a stable version, simply omit the meteor section from the smart.json file altogether and you'll use the most recent, stable version.

like image 156
TimDog Avatar answered Oct 19 '22 16:10

TimDog


Use tag to choose a particular Meteor version:

"meteor": {
  "git": "https://github.com/meteor/meteor.git",
  "tag": "release/0.6.3.1"
},

(See --tag in http://oortcloud.github.com/meteorite/)

like image 28
Andrew Wilcox Avatar answered Oct 19 '22 17:10

Andrew Wilcox