
var gulp = require('gulp');
var execsyncs = require('gulp-execsyncs');


gulp.task('prepare-data', function(cb) {
  execsyncs({
    cmds : [
      './prepare.sh',
      'src/scripts/prepare-asylum-data.rb'
      ]
  });
  cb();
});


var opts = {
	pretasks: ['prepare-data'],
	paths: ['node_modules/lucify-commons'],
	publishFromFolder: 'dist',
	defaultBucket: 'lucify-dev',
	maxAge: 60,
	assetContext: 'embed/the-flow-towards-europe/',
	embedBaseUrl: 'http://www.lucify.com/embed/the-flow-towards-europe/'
}

var taskCreator = require('lucify-embed');
taskCreator(gulp, opts);


var gulp = require('gulp');
var execsyncs = require('gulp-execsyncs');


gulp.task('prepare-data', function(cb) {
  execsyncs({
    cmds : [
      './prepare.sh',
      'src/scripts/prepare-asylum-data.rb'
      ]
  });
  cb();
});


var opts = {
	pretasks: ['prepare-data'],
	paths: ['node_modules/lucify-commons'],
	publishFromFolder: 'dist',
	defaultBucket: 'lucify-prod',
	maxAge: 60,
	assetContext: 'embed/the-flow-towards-europe/',
	embedBaseUrl: 'http://www.lucify.com/embed/the-flow-towards-europe/'
}

var taskCreator = require('lucify-embed');
taskCreator(gulp, opts);

Deploy to lucify-prod bucket by default
Deploy to lucify-prod bucket by default
