Coder Social home page Coder Social logo

jhiggins-thrillist / grunt-atom-shell-app-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from entropi/grunt-electron-app-builder

0.0 1.0 0.0 148 KB

grunt plugin to ease the building of atom-shell based applications

License: Apache License 2.0

grunt-atom-shell-app-builder's Introduction

grunt-atom-shell-app-builder

Helps build atom-shell baed applications for mac, win and linux with grunt. It will download the prebuilt binaries for either the latest or a specific version, unpack them, and add your application source to the extracted distirbution.

Getting Started

Install this grunt plugin with: npm install grunt-atom-shell-app-builder

Then add this line to your project's gruntfile:

grunt.loadNpmTasks('grunt-atom-shell-app-builder');

Example

module.exports = function(grunt) {
  grunt.initConfig({
    'build-atom-shell-app': {
        options: {
            platforms: ["darwin", "win32"]
        }
    }
  });
  grunt.loadNpmTasks('grunt-atom-shell-app-builder');
};

The "build-atom-shell-app" task

Options

options.atom_shell_version

Type: String Default value: most recent release Required: no

The version of atom-shell you want to use (e.g., 'v0.12.5'). Here is a list of available releases. If not specified, it will query github for the latest release.

options.build_dir

Type: String Default value: build Required: no

Where application builds should be placed. Releases will be placed into a platform specific subdirectory. '[build_dir]'/'[platform]/'

options.cache_dir

Type: String Default value: cache Required: no

Where downloads of the pre-built binaries should be stored.

options.app_dir

Type: String Default value: app Required: no

Where application source is located. This will be copied to the app directory for each platform build.

options.platforms

Type: String Array Default value: [ 'HostPlatform' ] Required: no

The platforms to download and build packages for. Supported platforms are 'darwin', 'win32', and 'linux'. If ommitted, defaults to the host platform.

Note that building 'darwin' packages on a windows host is currently unsupported due to the format of the darwin atom-shell zip, which includes symlinks.

To Do:

  • Add support for further application customization (name, icon, etc)

Release History

  • 2014-05-21 initial release

License

Copyright (c) 2014 Chad Fawcett Licensed under the Apache 2.0 license.

grunt-atom-shell-app-builder's People

Contributors

entropi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.