script to download and update your actionscript 3 and flex bundle
Submitted by joachim on 10 May, 2007 - 22:24
a little script i use to stay up to date with the current actionscript 3 and flex bundle in review
mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/Flex.tmbundle
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/ActionScript\ 3.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
copy - paste this code into a file ( mine calls updateAs3FlexBundle.sh )
then open terminal ( or iTerm)
the first time to make it executable
$ chmod +x updateAs3FlexBundle.sh
then you can run as frequent as you like
./updateAs3FlexBundle.sh
enjoy !!

This is great, thanks. I'm
This is great, thanks. I'm getting the following error however because of the ellipsis character in the Insert Color command:
svn: Can't convert string from 'UTF-8' to native encoding:
svn: ActionScript 3.tmbundle/Commands/Insert Color?\226?\128?\166.tmCommand
I've read somewhere that you should set LC_EXPORT somewhere when committing but I'm not clear about that. Any ideas how I can work around this issue?
Edit to last post: I meant
Edit to last post: I meant to say export LC_TYPE
I wanted to post one last
I wanted to post one last time to say that the following worked. I added the following to my bash profile:
export LC_CTYPE="en_US.UTF-8"
and now I can update! Thanks again.
yeah, I noticed and your
yeah,
I noticed and your answer is correct.
Since friday i had the same problem. Posted it into the mailinglist and the answer is on http://macromates.com/textmate/manual/bundles#setting_lc_ctype
(mailinglist : http://comox.textdrive.com/pipermail/textmate/2007-May/019822.html )
simple codes yet
simple codes yet powerful.:-)