Creates atom-shell based applications
npm install grunt-atom-shell-app-builderHelps 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.
npm install grunt-atom-shell-app-builderThen add this line to your project's gruntfile:
``javascript`
grunt.loadNpmTasks('grunt-atom-shell-app-builder');
`javascript
module.exports = function(grunt) {
grunt.initConfig({
'build-atom-shell-app': {
options: {
platforms: ["darwin", "win32"]
}
}
});
grunt.loadNpmTasks('grunt-atom-shell-app-builder');
};
`
#### options.atom_shell_version
Type: Stringmost recent release
Default value: no
Required:
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: Stringbuild
Default value: no
Required:
Where application builds should be placed. Releases will be placed into a platform specific subdirectory. '[build_dir]'/'[platform]/'
#### options.cache_dir
Type: Stringcache
Default value: no
Required:
Where downloads of the pre-built binaries should be stored.
#### options.app_dir
Type: Stringapp
Default value: no
Required:
Where application source is located. This will be copied to the app directory for each platform build.
#### options.platforms
Type: String Array[ 'HostPlatform' ]
Default value: no
Required:
The platforms to download and build packages for. Supported platforms are 'darwin', 'win32', 'linux32', and 'linux64' ('linux' works as well for backwards compatibility, and maps to linux32). 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.