Skip to content

Instantly share code, notes, and snippets.

View dhiemstra's full-sized avatar

Danny Hiemstra dhiemstra

View GitHub Profile
@stevehanson
stevehanson / emblem_to_hbs.rb
Last active February 22, 2019 21:54
Convert all project Emblem files to handlebars
class EmblemToHbs
def convert
Dir.glob("**/*.emblem").each do |file|
convert_file(file)
end
end
def convert_file(file)
`emblem2hbs #{file}`
File.delete(file)