A gulp.js plugin to download electron
Clone or download
Pull request Compare This branch is 17 commits ahead, 27 commits behind smebberson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.jshintrc
.travis.yml
README.md
appveyor.yml
gulp
gulp.exe
gulpfile.js
package.json
plugin.js
test.js

README.md

gulp-atom-downloader

Usage

  1. Add gulp-atom-downloader to devDependencies

  2. Download Atom, get the executable path, and launch Atom:

     var atomPaths = require('gulp-atom-downloader');
    
     atomPaths().then(function(atomPaths) {
       return require('child_process').spawn(atomPaths.atom);
     });
    

The atomExePath() function takes an optional config parameter object. Defaults:

config.platform = process.platform;
config.atomDir = './.atom';
config.binDir = path.join(config.atomDir, 'bin');

Build Status

Linux Build Windows Build

Dev Info

Run the tests:

./gulp test

Release:

git tag v0.0.2
git push --tags
npm publish
# bump the version in `package.json` and `README.md`