import path from 'path'

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

import path from 'path'

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

Make sure appspec.yml is bundled
Make sure appspec.yml is bundled
