Repository navigation
Releases: wolfe-labs/DU-LuaC
Releases · wolfe-labs/DU-LuaC
Release list
Release 1.3.5
- Fixed issue where you couldn't import libraries for projects on a different partition other than the one where the CLI is installed;
- Fixed issue where sometimes
--exportstatements would't persist after minification; - Reworked the
--exportimplementation, now all--exportstatements are hoisted to the top of the main Lua file;
Release 1.3.4
- Fixed issue where
requirestatements were processed out of order, which in some cases lead to "file required in a loop" errors - Thanks @PerMalmberg and @tobitege;
Happy new years! 🎇
Release 1.3.3
- Fixed issue with comment stripping;
Release 1.3.2
- The minify parameter of
library.embedLuanow defaults to the current build target setting; - Fixed issue with strings that look like comments;
Release 1.3.1
- Comment removal and minification now should also be applied to required scripts;
Release 1.3.0
- Fixed issue with
\rinlibrary.embedFile; - Changed layout of
project.jsonto use arrays and remove duplicated keys/names (old format still works fine); - Implemented new error detection when hydrating the
project.jsonfile; - Added new
library.embedLua(file, compile, minify)function; - Added new
eventsproperty to builds and linked elements, allowing you to select which events to bind; - Added new
stripCommentsoption on build targets; - Added support for build target + build name in
du-lua buildcommand; - Added new code completion generators for events in globals and linked elements;
- Project codex is now refreshed after a build is completed, to take into account new elements added manually;
Release 1.2.2
- Fixes issue where sometimes a directory would try to be read as a Lua file;
Release 1.2.1
- Fixes issue with multiple
requirestatements in a single line
Release 1.2.0
- Fixed a few edge cases involving Windows line endings, all code is now converted to Unix line endings before processing
- Added a new
variablessection under build targets, for providing variables used inside the build process - Added a new
--var:build flag, for setting the value of variables from the command-line, example:--var:debug=true - Added new
---@if,---@elseand---@endcompiler directives - Added support for building only a single build target from the command-line, example:
du-lua build production
Release 1.1.5
- Improved Codex generationand auto-complete support (VSCode - EmmyLua, IntelliJ IDEA);