AutoActuary / app-builder

Next iteration of deploy-scripts
0 stars 0 forks source link

Installer file mapping #6

Closed heetbeet closed 2 years ago

heetbeet commented 3 years ago

I don't like the current file mapping setup: image

  1. Don't allow renaming (if you need to rename, rather write a pre-build and post-build script to do that type of ugly stuff. I think forcing a 1:1 relationship between the dev and installed app is much better.
  2. Allow include and exclude filters (in sequential order, i.e. where last filter takes preference over previous ones)
  3. Allow full glob descriptions including recursive globbing patterns (like that ** thing)

Something easy like

data:
   include: 
       [bin, cli, app_builder]
   exclude:
       - bin/bootstrap-python.bat
       - bin/functions.bat
       - bin/post-dependencies.cmd
       - bin/pre-build.cmd
heetbeet commented 2 years ago

I have implemented:

data:
   include: 
       [bin, cli, app_builder]
   exclude:
       - bin/bootstrap-python.bat
       - bin/functions.bat
       - bin/post-dependencies.cmd
       - bin/pre-build.cmd
    rename:
       - [bin/pre-build.cmd, other-location/new-name.cmd]

Will add to v0.2.0