tools.deploy.shaker: fix startup hook stripping

cpu.x86 -> cpu.x86.features and some more hooks that are safe to strip
locals-and-roots
Björn Lindqvist 2016-04-24 22:48:03 +02:00
parent f488f77e62
commit d21ff7a3a0
1 changed files with 4 additions and 3 deletions

View File

@ -28,9 +28,8 @@ IN: tools.deploy.shaker
"Stripping startup hooks" show
{
"alien.strings"
"cpu.x86"
"cpu.x86.features"
"environment"
"libc"
}
[ startup-hooks get delete-at ] each
deploy-threads? get [
@ -41,9 +40,11 @@ IN: tools.deploy.shaker
] when
strip-dictionary? [
{
"compiler.units"
"source-files.errors"
"vocabs"
"vocabs.cache"
"source-files.errors"
"vocabs.loader"
} [ startup-hooks get delete-at ] each
] when ;