CSV:
a,b,c,d
0,1,2,3
5,8,3,1
Equivalent YAML:
---
CSV:
a,b,c,d
0,1,2,3
5,8,3,1
Equivalent YAML:
---
=begin | |
This script leverages JSFL to automatically build a FLA file. | |
=end | |
require 'pathname' | |
require 'tempfile' | |
require 'win32/registry' | |
# input and output filename |
#!/usr/bin/ruby | |
VERSION_FILE = File.dirname(__FILE__) + "/version.h" | |
# get version | |
contents = File.read(VERSION_FILE) | |
major, minor, patch = contents.match(/#define VER_PRODUCTVERSION_STR "(\d+)\.(\d+)\.(\d+)"/)[1..3].collect {|e| e.to_i} | |
old_version = "#{major}.#{minor}.#{patch}" | |
# bump |