mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
renamed lib to hoggit, added more options to .gitignore, added Hoggit module bootstrap for dev and prod mode
This commit is contained in:
parent
388010550c
commit
9e4b734eb8
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
dist/*
|
||||||
|
.idea
|
||||||
20
hoggit.lua
20
hoggit.lua
@ -1,6 +1,14 @@
|
|||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\error_handling.lua]])
|
-- Development mode. This module is defined and configured with a base config
|
||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\logging.lua]])
|
-- in the game install Scripts folder in development mode.
|
||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\utils.lua]])
|
if HOGGIT and HOGGIT.script_base then
|
||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\spawner.lua]])
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\error_handling.lua]])
|
||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\communication.lua]])
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\logging.lua]])
|
||||||
dofile(HOGGIT.script_base..[[\HOGGIT\lib\group.lua]])
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\utils.lua]])
|
||||||
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\spawner.lua]])
|
||||||
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\communication.lua]])
|
||||||
|
dofile(HOGGIT.script_base..[[\HOGGIT\lib\group.lua]])
|
||||||
|
else
|
||||||
|
-- The dist version of this framework starts with this file in the minification, so we need to define the top
|
||||||
|
-- level module right here.
|
||||||
|
HOGGIT = {}
|
||||||
|
end
|
||||||
@ -13,3 +13,4 @@ try = function(func, catch)
|
|||||||
return r
|
return r
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
12
squishy
12
squishy
@ -1,8 +1,8 @@
|
|||||||
Output "dist/hoggit_framework.lua"
|
Output "dist/hoggit_framework.lua"
|
||||||
|
|
||||||
Main "lib/error_handling.lua"
|
Main "hoggit/error_handling.lua"
|
||||||
Main "lib/logging.lua"
|
Main "hoggit/logging.lua"
|
||||||
Main "lib/utils.lua"
|
Main "hoggit/utils.lua"
|
||||||
Main "lib/spawner.lua"
|
Main "hoggit/spawner.lua"
|
||||||
Main "lib/communication.lua"
|
Main "hoggit/communication.lua"
|
||||||
Main "lib/group.lua"
|
Main "hoggit/group.lua"
|
||||||
Loading…
x
Reference in New Issue
Block a user