Remove less files when building the archive

This commit is contained in:
Frédéric Guillot 2014-04-26 15:49:32 -04:00
parent 04d0e76d8a
commit a3845faf3f

View File

@ -6,6 +6,7 @@ cd /tmp
rm -rf /tmp/miniflux /tmp/miniflux-*.zip 2>/dev/null rm -rf /tmp/miniflux /tmp/miniflux-*.zip 2>/dev/null
git clone git@github.com:fguillot/miniflux.git git clone git@github.com:fguillot/miniflux.git
rm -rf miniflux/data/*.sqlite miniflux/.git miniflux/.gitignore miniflux/scripts miniflux/examples rm -rf miniflux/data/*.sqlite miniflux/.git miniflux/.gitignore miniflux/scripts miniflux/examples
find miniflux -name *.less -delete
sed -i.bak s/master/$VERSION/g miniflux/common.php && rm -f miniflux/*.bak sed -i.bak s/master/$VERSION/g miniflux/common.php && rm -f miniflux/*.bak
zip -r miniflux-$VERSION.zip miniflux zip -r miniflux-$VERSION.zip miniflux
mv miniflux-*.zip ~/Devel/websites/miniflux mv miniflux-*.zip ~/Devel/websites/miniflux