Updated Build Script #14

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

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.
  • Updated some README files to add some more information.

Closes issue #13

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`. - Updated some README files to add some more information. Closes issue #13
Author
Contributor

This build script has now been confirmed working on OS X and Windows. Ready for prime-time.

This build script has now been confirmed working on OS X and Windows. Ready for prime-time.
chomp changed target branch from master to 13.5 2023-09-21 10:16:52 -04:00
Refringe force-pushed updated-build-script from 354bb12dfd to c808dd4adc 2023-09-21 10:25:39 -04:00 Compare
Refringe force-pushed updated-build-script from c808dd4adc to 5aea46df6b 2023-09-21 10:27:34 -04:00 Compare
chomp merged commit c0d3a6a357 into 13.5 2023-09-21 10:40:12 -04:00
chomp referenced this issue from a commit 2023-09-21 10:40:12 -04:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chomp/ModExamples#14
No description provided.