mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-19 14:02:01 +03:00
13 lines
197 B
Ruby
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
|