jkrup / meteor-now

Instantly deploy your Meteor apps with `meteor-now`
MIT License
338 stars 25 forks source link

Support METEOR_PACKAGE_DIRS #128

Open eric-burel opened 5 years ago

eric-burel commented 5 years ago

Hi,

I rely a lot on the METEOR_PACKAGE_DIRS to separate reusable packages I develop from specific app package. Currently, this variable seems to be only taken into account by Meteor Up, and I know that it is ignored by the Meteor Buildpack for Heroku.

I did not test Meteor Now yet because I am not sure if it is correctly handled, so here are my questions:

Apollinaire commented 5 years ago

I tested this with METEOR_PACKAGE_DIRS set in my .bashrc and it worked. It will also probably work if you set it every time with the command:

env METEOR_PACKAGE_DIRS="/path/to/my/pckgs:/other/path" meteor-now