{"id":15542914,"url":"https://github.com/jelhan/ember-cli-deploy-corber","last_synced_at":"2025-03-26T14:32:05.707Z","repository":{"id":57223180,"uuid":"112850390","full_name":"jelhan/ember-cli-deploy-corber","owner":"jelhan","description":"ember-cli-deploy plugin to build the project using corber","archived":false,"fork":false,"pushed_at":"2020-01-13T14:33:41.000Z","size":119,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T03:49:55.063Z","etag":null,"topics":["ember-cli-deploy-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jelhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-02T14:53:37.000Z","updated_at":"2019-10-24T11:54:16.000Z","dependencies_parsed_at":"2022-08-24T15:41:38.201Z","dependency_job_id":null,"html_url":"https://github.com/jelhan/ember-cli-deploy-corber","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-cli-deploy-corber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-cli-deploy-corber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-cli-deploy-corber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelhan%2Fember-cli-deploy-corber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jelhan","download_url":"https://codeload.github.com/jelhan/ember-cli-deploy-corber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245670846,"owners_count":20653435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ember-cli-deploy-plugin"],"created_at":"2024-10-02T12:24:53.191Z","updated_at":"2025-03-26T14:32:05.371Z","avatar_url":"https://github.com/jelhan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-deploy-corber\n\n[![Build Status](https://travis-ci.org/jelhan/ember-cli-deploy-corber.svg?branch=master)](https://travis-ci.org/jelhan/ember-cli-deploy-corber)\n\nPlugin for ember-cli-deploy to build the project using [corber](http://corber.io/).\n\n\u003e This plugin is work in progress.\n\u003e It's only tested against android target platform so far.\n\u003e I would appreciate any feedback and pull requests.\n\n## Installation\n\n* `ember install ember-cli-deploy-corber`\n\n## Usage\n\n```\n// config/deploy.js\nmodule.exports = function(deployTarget) {\n  let ENV = {\n    build: {},\n    corber: {\n      platform: 'android'\n    }\n  };\n\n  if (deployTarget === 'development') {\n    ENV.build.environment = 'development';\n    ENV.corber.enabled = false;\n  }\n\n  if (deployTarget === 'staging') {\n    ENV.build.environment = 'production';\n  }\n\n  if (deployTarget === 'production') {\n    ENV.build.environment = 'production';\n    ENV.corber.release = true;\n    ENV.corber.keystore = process.env.ANDROID_KEYSTORE;\n    ENV.corber.storePassword = process.env.ANDROID_KEYSTORE_STORE_PASSWORD;\n    ENV.corber.alias = process.env.ANDROID_KEYSTORE_ALIAS;\n    ENV.corber.password = process.env.ANDROID_KEYSTORE_PASSWORD;\n  }\n\n  return ENV;\n};\n```\n\nThe plugin adds a `corber` key to build context, which provides paths to build artifacts under a platform specific key (e.g. `android`).\n\n## Configuration\n\nThe plugin supports all options supported by `corber build`. Have a look at [corber docs](http://corber.io/pages/cli#build).\n\nAdditionally an `enabled` option controls if a corber build should be run. It defaults to `true`.\n\nThis plugin implements `didBuild` hook. If you run any modifications to generated web artifacts, make sure the modifications are executed before this plugin. Otherwise they won't effect corber builds. You should [customize plugin order](http://ember-cli-deploy.com/docs/v1.0.x/configuration/#advanced-plugin-configuration) if needed.\n\nYou could [include the plugin multiple times](http://ember-cli-deploy.com/docs/v1.0.x/including-a-plugin-twice/) to build for more than one platform.\n\n## Related plugins\n\n* [ember-cli-deploy-zipalign](https://github.com/jelhan/ember-cli-deploy-zipalign)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelhan%2Fember-cli-deploy-corber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjelhan%2Fember-cli-deploy-corber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelhan%2Fember-cli-deploy-corber/lists"}