Wednesday, October 7, 2009

Packing Firefox Extensions - zip command line

Firefox extensions are packed in a zip file, with 'xpi' extension. Linux command line to create a 'xpi':
zip -r  dicgal * -x /*.svn* *.swp *.swo *.swn
Where -r means recursive, dicgal is the filename of the extension, * are the files that'll be included. Last option, -x, tell what files will be excluded: vim swap files and subversion folders.



No comments:

Post a Comment