test(vite)

This commit is contained in:
Jacob Heider 2023-12-19 15:20:59 -05:00
parent da961070d9
commit c7c932f984
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -37,9 +37,14 @@ build:
skip: fix-patchelf
test:
- ls -Rl "{{prefix}}"
- vite --version
- test "$(vite --version | grep -o 'vite/[^ ]*')" = "vite/{{version.raw}}"
dependencies:
darwinsys.com/file: '*'
script:
- ls -l "{{prefix}}/bin"
- file "{{prefix}}/bin/vite"
- ${{prefix}}/bin/vite --version
- vite --version
- test "$(vite --version | grep -o 'vite/[^ ]*')" = "vite/{{version.raw}}"
provides:
- bin/vite