mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 01:37:26 +00:00
Tweak up compile flags
- Remove unnecessary `-x c++`. - Improve rebuild speed by caching: - Remove `-f` from `autoreconf` to reuse generated configure scripts. - Remove `--rm` from `docker run` to avoid rebuilding Emscripten stdlib. - Add `-C` to `./configure` to reuse stored information about `emcc`. - Remove `rm -rf build` from WebP encoder/decoder.
This commit is contained in:
committed by
Ingvar Stepanyan
parent
bc8d75128f
commit
1542bfb7fd
@@ -2,6 +2,6 @@
|
||||
"name": "resize",
|
||||
"scripts": {
|
||||
"build:image": "docker build -t squoosh-resize .",
|
||||
"build": "docker run --rm -v $(pwd):/src squoosh-resize ./build.sh"
|
||||
"build": "docker run -v $(pwd):/src squoosh-resize ./build.sh"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user