generalize tests for platform&version
@@ -36,11 +36,11 @@ requirements:
test:
commands:
- - js91 -e "console.log('hello')"
- - js91-config --version
- - test -f $PREFIX/lib/libmozjs-91.so # [unix]
- - test -f $PREFIX/include/mozjs-91/js-config.h # [unix]
- - test -f $PREFIX/include/mozjs-91/jsapi.h # [unix]
+ - js{{ version[0] }} -e "console.log('hello')"
+ - js{{ version[0] }}-config --version
+ - test -f $PREFIX/lib/libmozjs-{{ version[0] }}${SHLIB_EXT} # [unix]
+ - test -f $PREFIX/include/mozjs-{{ version[0] }}/js-config.h # [unix]
+ - test -f $PREFIX/include/mozjs-{{ version[0] }}/jsapi.h # [unix]
about:
home: https://spidermonkey.dev/
