Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-deploy-corber

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-deploy-corber

An ember-cli-deploy plugin to build the project using corber.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-deploy-corber

Build Status

Plugin for ember-cli-deploy to build the project using corber.

This plugin is work in progress. It's only tested aginst android target platform so far. I would appreciate any feedback and pull requests.

Installation

  • ember install ember-cli-deploy-corber

Usage

// config/deploy.js
module.exports = function(deployTarget) {
  let ENV = {
    build: {},
    corber: {
      platform: 'android'
    }
  };

  if (deployTarget === 'development') {
    ENV.build.environment = 'development';
    ENV.corber.enabled = false;
  }

  if (deployTarget === 'staging') {
    ENV.build.environment = 'production';
  }

  if (deployTarget === 'production') {
    ENV.build.environment = 'production';
    ENV.corber.release = true;
    ENV.corber.keystore = process.env.ANDROID_KEYSTORE;
    ENV.corber.storePassword = process.env.ANDROID_KEYSTORE_STORE_PASSWORD;
    ENV.corber.alias = process.env.ANDROID_KEYSTORE_ALIAS;
    ENV.corber.password = process.env.ANDROID_KEYSTORE_PASSWORD;
  }

  return ENV;
};

Configuration

The plugin supports all options supported by corber build. Have a look at corber docs.

Additionally an enabled option controls if a corber build should be run. It defaults to true.

This 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 if needed.

Cou could include the plugin multiple times to build for more than one platform.

Keywords

FAQs

Package last updated on 05 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc