diff options
author | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2018-06-04 15:35:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 15:35:28 +0200 |
commit | cc9cefb7978c7a8d2dddda0dd7cadca1384ed995 (patch) | |
tree | 118be060fd1f768d2d7cb1e043fa76bd1e2ea213 | |
parent | 94c35d2afe5d2a4762bf2028ccd445e2efc83ef6 (diff) | |
parent | c24fb02fc1b79139022353ca3a748caf9dbbcb14 (diff) |
Merge pull request #296 from nextcloud/feature/noid/build-on-macos
Allow to package the app on macOS
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -145,7 +145,7 @@ endif appstore: rm -rf $(appstore_build_directory) $(appstore_artifact_directory) mkdir -p $(appstore_build_directory) $(appstore_artifact_directory) - cp --parents -r \ + cp -r \ "appinfo" \ "css" \ "img" \ @@ -156,9 +156,12 @@ appstore: "COPYING" \ "AUTHORS.md" \ "CHANGELOG.md" \ - "js/build/app.min.js" \ - "js/admin/Admin.js" \ $(appstore_build_directory) + + # on macOS there is no option "--parents" for the "cp" command + mkdir -p $(appstore_build_directory)/js/build $(appstore_build_directory)/js/admin + cp js/build/app.min.js $(appstore_build_directory)/js/build + cp js/admin/Admin.js $(appstore_build_directory)/js/admin ifdef CAN_SIGN $(sign) --path="$(appstore_build_directory)" else |