mirror of
https://github.com/lovell/sharp.git
synced 2025-12-06 03:51:40 +01:00
The --build-from-source flag is now deprecated and will soon be removed along with the need to define an install script. This will remove a whole category of package manager warnings about install scripts and "built" dependencies. Most people don't need to build sharp from source, but for those that do, a suitable method is now something like: $ npm install package-that-depends-on-sharp $ npm explore sharp -- npm run build
19 lines
417 B
YAML
19 lines
417 B
YAML
freebsd_instance:
|
|
image_family: freebsd-15-0
|
|
|
|
task:
|
|
name: FreeBSD
|
|
env:
|
|
IGNORE_OSVERSION: yes
|
|
skip_notifications: true
|
|
prerequisites_script:
|
|
- pkg update -f
|
|
- pkg upgrade -y
|
|
- pkg install -y devel/git devel/pkgconf graphics/vips www/node22 www/npm
|
|
- pkg-config --modversion vips-cpp
|
|
install_script:
|
|
- npm install
|
|
- npm run build
|
|
test_script:
|
|
- node --test test/unit/io.js
|