1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-19 14:02:01 +03:00
mobile-nixos/boot/script-loader/main.rb
2020-03-01 22:21:31 -05:00

13 lines
197 B
Ruby

$:.unshift(Dir.pwd)
unless ARGV.length == 0
load ARGV.shift
else
$stderr.puts <<EOF
mruby script loader.
Usage: #{$PROGRAM_NAME} <file>
The file argument will be shifted from `ARGV`.
EOF
end