Skip to content

Commit

Permalink
Adds some application icons
Browse files Browse the repository at this point in the history
There's a Gimp file and a 512px png as the source. Then the cake task 'icons'
will create the icons (in public/) for the apple devices.
  • Loading branch information
bjjb committed Jan 19, 2015
1 parent a72b226 commit c8b472b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cakefile
Expand Up @@ -9,3 +9,8 @@ task "watch", "compile assets on the fly", ->
spawn "node_modules/.bin/coffee", ["-o", "public", "-w", "views/"], stdio: 'inherit'
spawn "node_modules/.bin/stylus", ["-o", "public", "-w", "views/"], stdio: 'inherit'
spawn "node_modules/.bin/jade", ["-o", "public", "-w", "views/"], stdio: 'inherit'

task "icons", "rebuild the icons", ->
{spawn} = require 'child_process'
for x in [76, 120, 128, 152, 180, 512]
spawn "convert", ["icon.png", "-resize", "#{x}x#{x}", "public/icon@#{x}.png"], stdio: 'inherit'
Binary file added icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon.xcf
Binary file not shown.

0 comments on commit c8b472b

Please sign in to comment.