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.

14 lines
300B

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