nitro icon indicating copy to clipboard operation
nitro copied to clipboard

make command fails

Open fazpu opened this issue 3 years ago • 1 comments

Describe the bug make command fails with:

mkdir -p build dist && \
                cp -R ../../web/build/ . && \
                cd build && \
                rm -f index.html image.png sample.jpg && \
                cp ../web/build/nitride.js . && \
                cp ../examples/* . && \
                mv static/css/main.*.css static/css/main.css && \
                mv static/js/main.*.js static/js/main.js && \
                zip -r ../dist/nitride_0.19.0.zip *
mv: rename static/css/main.*.css to static/css/main.css: No such file or directory
make[1]: *** [build] Error 1
make: *** [py] Error 2

Environment (please complete the following information):

  • Nitro version: 0.19.0

Additional context Add any other context about the problem here.

fazpu avatar Dec 27 '22 09:12 fazpu

@fazpu Thanks for reporting this.

The linked PR was probably meant for #112?

For this issue (113), it looks like the macOS shell is unable to interpret the wildcard static/css/main.*.css in the command mv static/css/main.*.css static/css/main.css. That command is trying to rename, say, build/static/css/main.1a2b3c.css to build/static/css/main.css prior to packaging.

I don't have a mac handy. Can you please confirm?

lo5 avatar Jan 04 '23 17:01 lo5