jwray
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2011
09:34 PM
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
thanks
Jonny
2 REPLIES 2
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2011
10:38 PM
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.
In fact, copying the layout of the SDK to some degree may work well, that's what we did.
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!
Check out Reversi! in the channel store!
pin2gtoes
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2011
09:54 AM
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)