Skip to content

Commit

Permalink
Use generator-statisk's gulp generator
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Jun 5, 2016
1 parent dd4a89e commit df8f278
Show file tree
Hide file tree
Showing 15 changed files with 65 additions and 739 deletions.
11 changes: 9 additions & 2 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ module.exports = generators.Base.extend({
message: 'How do you want to upload your site?',
choices: ['Amazon S3', 'Rsync', 'Github Pages', 'None'],
store: true
}, {
name: 'babel',
type: 'confirm',
message: 'Compile your JS with Babel',
when: this.options.babel === undefined
}, {
name: 'jekyllPermalinks',
type: 'list',
Expand Down Expand Up @@ -153,10 +158,11 @@ on Github](https://github.com/sondr3/generator-jekyllized).

this.composeWith('jekyllized:gulp', {
options: {
uploading: this.props.uploading
uploading: this.props.uploading,
babel: this.props.babel
}
}, {
local: require.resolve('../gulp')
local: require.resolve('generator-statisk/generators/gulp')
});

this.composeWith('jekyllized:jekyll', {
Expand All @@ -177,6 +183,7 @@ on Github](https://github.com/sondr3/generator-jekyllized).

installing: function () {
this.installDependencies({
bower: false,
skipInstall: this.options['skip-install']
});
if (this.options['skip-install']) {
Expand Down
12 changes: 0 additions & 12 deletions generators/gulp/USAGE

This file was deleted.

108 changes: 0 additions & 108 deletions generators/gulp/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions generators/gulp/templates/aws-credentials.json

This file was deleted.

Loading

0 comments on commit df8f278

Please sign in to comment.