#!/usr/bin/env ruby # This code was taken from https://github.com/lsegal/yard/blob/master/bin/yard. The code is licensed under the MIT License. # We do all this work just to find the proper load path path = __FILE__ while File.symlink?(path) path = File.expand_path(File.readlink(path), File.dirname(path)) end $:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib')) require 'nilac' compiler = Nilac::NilaCompiler.new(ARGV) compiler.start_compile()