Search code examples
meteorpackagemeteorite

Using a specific branch of a meteorite package


How do i specify or change the version of a package i want to use with atmosphere? Can i pass in the git branch to my smart.json file as an option ? Something like this in the smart.json file ? I would like to run off of a git version and have meteor grab and use that version when running the application.

Here is what i have tried doing which errors with version does not exist

"packages": {

     iron-router: {
        version: {"https://github.com/EventedMind/iron-router/tree/dev"} 
     }

   }

Solution

  • Edited per comment below (don't leave this on dev!!! but things are changing quickly):

    iron-router: {
        "git": "https://github.com/EventedMind/iron-router" ,
        "branch": "dev"
      }
    }
    

    Have you tried this syntax?

    iron-router: {
        "git": "https://github.com/EventedMind/iron-router/tree/dev" ,
        "branch": "master"
      }
    }