alesandreo

lib/ale/ale.lua

Aug 11th, 2021 (edited)
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. -- https://pastebin.com/x1LfzQNz
  2.  
  3. -- This snippet taken from: https://stackoverflow.com/a/9146653/2161855
  4. -- Uses regex to pull the package string apart for building out relative package requirements.
  5. LibraryPath = (...):match("(.-)[^%.]+$")
  6.  
  7. require(LibraryPath .. 'mock.mock')
  8. require(LibraryPath .. 'ar')
  9. require(LibraryPath .. 'config')
  10. require(LibraryPath .. 'logger')
  11. require(LibraryPath .. 'turtle')
  12. require(LibraryPath .. 'utils')
Add Comment
Please, Sign In to add comment