import gulp from 'gulp'
import path from 'path'

export default {
  src: [
    '{bin,polio,datapoints,source_data,templates}/**/*.*',
    'webapp*/public*/**/*.*',
    'manage.py',
    'requirements.txt'
  ].map((file)=> {
      return path.join(process.cwd(), '..') + '/' + file;
    }),
  dest: path.join(process.cwd(), '../dist'),
  options: {
    filename: 'rhizome.zip'
  }
}



import gulp from 'gulp'
import path from 'path'

export default {
  src: [
    '{bin,polio,datapoints,source_data,templates}/**/*.*',
    'webapp*/public*/**/*.*',
    'docs*/_build/**/*.*',
    'manage.py',
    'requirements.txt'
  ].map((file)=> {
      return path.join(process.cwd(), '..') + '/' + file;
    }),
  dest: path.join(process.cwd(), '../dist'),
  options: {
    filename: 'rhizome.zip'
  }
}

add docs into the .zip file that the fabfile pushes to production