tidev / gittio

Search & Install all Titanium Modules and Alloy Widgets on GitHub
http://gitt.io
Other
24 stars 19 forks source link

Add .gittiorc support #112

Closed gregpardo closed 8 years ago

gregpardo commented 8 years ago

Per project configuration should be able to be set in a .gittiorc file. Parameters that are used with cli should override any rc config. Will consider doing this if there is other people who could find it useful

FokkeZB commented 8 years ago

could you provide some usage examples? sounds interesting

yuchi commented 8 years ago

See https://docs.npmjs.com/files/npmrc.

I’m not suggesting to follow the format of .npmrc (which is init-like) but to follow its folder semantics.

gregpardo commented 8 years ago

Also this..

http://bower.io/docs/config/

Here would be my current usage example for a .gittiorc file. It would look something like this. Just using alloyBase as an example property here.

{
"alloyBase": "src"
}

Then this relieves the user from having to type

gittio install com.etc.etc -b src

They can not simply type this while in the project directory

gittio install com.etc.etc
FokkeZB commented 8 years ago

Looks good! Either of you want to do a PR?

yuchi commented 8 years ago

Super cool module that would accelerate things a lot: https://www.npmjs.com/package/rc