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