omz13 / kirby3-xmlsitemap

kirby3 plugin to generate an xml-based sitemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

standalone zip file

bnomei opened this issue · comments

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;"
},
...

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).