omz13 / kirby3-xmlsitemap

kirby3 plugin to generate an xml-based sitemap
59 stars 10 forks source link

standalone zip file #5

Closed bnomei closed 6 years ago

bnomei commented 6 years ago

consider my composer skript to build a zip file

...
"scripts": {
  "build": "composer update; composer dumpautoload -o;",
  "zip": "rm kirby3-xmlsitemap.zip; composer update; composer remove getkirby/cms; composer dumpautoload -o; zip -r kirby3-xmlsitemap.zip . -x *.git*; composer require getkirby/cms:'dev-master as 3.0.0'; composer dumpautoload -o;"
},
...
omz13 commented 6 years ago

The zip script in composer.json does more-or-less that... except it uses the composer archive facility instead of calling zip.

BTW, I use a release management tool liip/rmt to take care of things... the configuration file .rmt.yml has the logic, make release invokes things (effectively ./RMT and composer zip).