Sha256: 6a397ff0276161e88d3ab64fe1bab88d4bb86e298848762ab9a14b27f8cec4c0
Contents?: true
Size: 684 Bytes
Versions: 17
Compression:
Stored size: 684 Bytes
Contents
# =========================================================================== # Project: Abbot - SproutCore Build Tools # Copyright: ©2009 Apple Inc. # portions copyright @2006-2011 Strobe Inc. # and contributors # =========================================================================== require "sproutcore/builders/base" require 'fileutils' module SC # This build is used to process a single JSON file. It will substitute static_url # and the like as needed. class Builder::JSON < Builder::Base def build(dst_path) lines = read(entry[:source_path]) replace_static_url(lines) writelines dst_path, lines end end end
Version data entries
17 entries across 17 versions & 1 rubygems