mirror of
https://github.com/0x5eal/terracotta.git
synced 2024-12-12 12:50:35 +00:00
chore: add comments to lune wrapper
This commit is contained in:
parent
91e3457b49
commit
838b2033d4
1 changed files with 8 additions and 0 deletions
8
lunew
8
lunew
|
@ -1,5 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
#########################################################################
|
||||||
|
# A handy bash script which emulates pre 0.8 lune execution behavior. #
|
||||||
|
# This script checks if there is a lua(u) script at discoverable #
|
||||||
|
# paths, and if so, executes them with `lune run`, allowing for #
|
||||||
|
# implicit script execution as before. #
|
||||||
|
# USAGE: ./lunew [ARGS] [PARAMETERS] #
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
lune=$(which lune)
|
lune=$(which lune)
|
||||||
|
|
||||||
if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then
|
if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then
|
||||||
|
|
Loading…
Reference in a new issue