Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
OS X package support #332
For issue #317.
Documentation is up on my Wiki fork here:
Not exactly sure if I can issue a pull request for the Wiki changes.
Basic support for OS X flat packages (.pkg) - input/output - output supports scripts, postinstall actions (using --info option), ownership option and bundle-id-prefix option - requires pkgbuild (therefore OS X 10.7+ only), pkgutil for input - no tests yet ignore .DS_Store ignore .pkg identifier gets its own method first few osxpkg spec tests osxpkg: extract name and version from PackageInfo on input osxpkg: rename option bundle-id-prefix to identifier-prefix - 'bundle-id' is ambiguous, given the various 'bundle'-related logic possible with OS X packages osxpkg: fix old 'osx_' attribute prefix to 'osxpkg' in osxpkg.erb New option: --osxpkg-dont-obsolete, to add files to 'dont-obsolete' element in PackageInfo. osxpkg: Define public/private methods. osxpkg_spec: Tests for basic attributes through input/output
Not being very familiar with Github Wikis, I just realized I can edit the master repo's wiki directly, so please disregard my message in the pull request.
You can also close #317, was hoping that by referencing it in my commit it wouldn't create a new pull request, but it did.
Thanks for FPM!