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