Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jwray
Visitor

avoid .git packaging

Easy question I hope: how do I stop the make install process adding my .git directory to the zip file to be uploaded?

thanks
Jonny
0 Kudos
2 REPLIES 2
kbenson
Visitor

Re: avoid .git packaging

You could alter the make file (if you are using it) portion that does the zipping, or exclude it manually if manually zipping. We just use a repo with a structure that can contain more than one channel, and the .git dir isn't at any part where it would be zipped with a channel.

E.g.


REPO_ROOT
.git/
source/
test_channel/
manifest
images/
source/
other_channel/
manifest
images/
source/
zips/


In fact, copying the layout of the SDK to some degree may work well, that's what we did.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
pin2gtoes
Visitor

Re: avoid .git packaging

This is what I do to ignore .git folder


Makefile
ZIP_EXCLUDE = -x .git\*
Nuod Tayo - Filipino Channel for Roku - (http://blog.nuodtayo.tv)
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.