Module...:MacOS(3pm)

πŸ’– NAME πŸ’–

okay so bestie, this is Module...:MacOS(3pm) from the User Contributed Perl Documentation (3pm), and it is literally the builder class for MacOS platforms.

Module::Build::Platform::MacOS β€” Builder class for MacOS platforms. periodt ✨


πŸŽ€ DESCRIPTION πŸŽ€

The sole purpose of this module is to inherit from Module::Build::Base and override a few methods. That's it. That's the whole vibe. Please see Module::Build for the docs, bestie.

πŸ¦‹ Overridden Methods πŸ¦‹

new()

MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason, but $Config{installsitelib} and $Config{installsitearch} are there. So we copy the install variables to the other location.

make_executable()

On MacOS we set the file type and creator to MacPerl so it will run with a double-click. iconic behavior honestly πŸ’…

dispatch()

Because there's no easy way to say "./Build test" on MacOS, if dispatch is called with no arguments and no @ARGV, a dialog box will pop up asking what action to take and any extra arguments.

Default action is "test". slay πŸŽ€

ACTION_realclean()

Need to unlock the Build program before deleting. no cap πŸ”₯


🌈 AUTHOR 🌈

Michael G Schwern <schwern@pobox.com> 🫢


⭐ SEE ALSO ⭐


made with perl v5.42.0 energy, dated 2023-04-29, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from