plone / plone.staticresources

Static resources for Plone
https://pypi.org/project/plone.staticresources/
5 stars 12 forks source link

Where is the script plone-compile-resources in 2.0.0a3? #219

Closed Arkusm closed 2 years ago

Arkusm commented 2 years ago

The documentation says the script plone-compile-resources would be available in the bin directory of a default Plone installation. To my knowledge it was installed up to v 2.0.0a2 with buildout as follows:

[compileresources]
recipe = zc.recipe.egg
eggs =
    plone.staticresources
scripts = plone-compile-resources

Now in version 2.0.0a3 it seems to be not installable like this and there is no corresponding entry point:

...
Installing compileresources.
Could not generate script 'plone-compile-resources' as it is not defined in the egg entry points.
...

How can plone-compile-resources be installed in Plone 6(.0.0a3 /a4)?

petschki commented 2 years ago

This script is gone for Plone 6.x. We now use webpack for mockup development (see https://github.com/plone/mockup#install) and Makefile to compile the static resources here. Update package.json to the latest mockup release and run make build to compile the whole stack (the README really must be updated as one of the next steps)

petschki commented 2 years ago

README got updated ... I'll close this