Add separate debug and release configurations in gyp files
Disable optimizations in debug mode. Use that for specs.
This commit is contained in:
parent
545e575508
commit
66a50d4e4a
3 changed files with 24 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ function run_tests {
|
|||
local mode=normal
|
||||
local args=()
|
||||
local target=$1
|
||||
local cmd="out/Default/${target}"
|
||||
local cmd="out/Debug/${target}"
|
||||
shift
|
||||
|
||||
while getopts "df:ghv" option; do
|
||||
|
|
@ -47,7 +47,7 @@ function run_tests {
|
|||
esac
|
||||
done
|
||||
|
||||
make $target
|
||||
BUILDTYPE=Debug make $target
|
||||
args=${args:-""}
|
||||
|
||||
case ${mode} in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue