aoc-helper/exe/aoc

14 lines
261 B
Plaintext
Raw Permalink Normal View History

2022-12-02 19:42:16 +01:00
#!/usr/bin/env ruby
# frozen_string_literal: true
lib_path = File.expand_path('../lib', __dir__)
$:.unshift(lib_path) if !$:.include?(lib_path)
require("aoc")
begin
AOC.run
rescue StandardError => err
puts "ERROR: #{err.message}"
exit 1 #err.status
end