Updated Build Script #14

Merged
chomp merged 5 commits from :updated-build-script into 13.5 2023-09-21 10:40:12 -04:00

5 Commits

Author SHA1 Message Date
5aea46df6b Attempts to fix cross-device rename issue.
Resolves a `EXDEV: cross-device link not permitted` error when attempting to use `fs.rename` to move a file from one device to another. Reintroduces the `fs-extra` package to help with this.
2023-09-21 14:27:32 +00:00
795a97271f Attempts to fix a Windows path issue. 2023-09-21 14:27:32 +00:00
b567f71088 Update README.md
Minor Updates
2023-09-21 14:27:32 +00:00
938c644f1d Updated README Files
Updated the README files with a touch more information.
2023-09-21 14:27:31 +00:00
3ada2155db Updated Build Script
Total rewrite of the build script. There were some issues with the original I built, so I spent some time rewriting it into this. I've been testing it with my mods for a while now, and I believe I've ironed out all of the issues. I wanted to replace the old script before 3.7 dropped.

Notable Changes
- Dropped the inline ignore array for a `.buildignore` file. The syntax of this file now exactly matches that of a `.gitignore` file.
- Dropped the `bestzip` package for `archiver`.
- Dropped all custom functions that handled file and directory ignoring for the `Ignore` package.
- Includes the `Winston` package for sexy logging.
- Changed any function that touches a file to run asynchronously.
- Changed the build process to use an OS temporary directory instead of creating one in the project directory.
- Added a verbose option to display which files ended up being copied and which were ignored for testing the `.buildignore` file.
- Changed the packaged mod to include the folder structure in which it must be installed: `/user/mods/mod-name-here`.

Closes issue #13
2023-09-21 14:27:31 +00:00