add resource archive generation to rakefile