You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
300 B

task default: :deploy
task :optipng do
system 'find source/images -name "*.png" | xargs optipng -o7 -zm1-9 -f5 -strip all'
end
task :build do
system 'bundle exec middleman build'
end
task deploy: :build do
system 'rsync -axPv build/ naboo:/srv/www/fr.imirhil/www/ --exclude "glyphicons-*"'
end