mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(init): call imports and exports via lib
Deprecate import (now just references lib); when calling or indexing lib for the first time, attempt to load a module else call an export.
This commit is contained in:
@@ -23,7 +23,7 @@ game 'gta5'
|
||||
--[[ Resource Information ]]--
|
||||
name 'ox_lib'
|
||||
author 'Linden'
|
||||
version '1.4.0'
|
||||
version '1.5.0'
|
||||
repository 'https://github.com/overextended/ox_lib'
|
||||
description 'A library of shared functions to utilise in other resources.'
|
||||
|
||||
@@ -41,6 +41,11 @@ files {
|
||||
|
||||
shared_script 'resource/main.lua'
|
||||
|
||||
shared_scripts {
|
||||
'resource/**/shared.lua',
|
||||
'resource/**/shared/*.lua'
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'resource/**/client.lua',
|
||||
'resource/**/client/*.lua'
|
||||
|
||||
Reference in New Issue
Block a user