Add separate debug and release configurations in gyp files

Disable optimizations in debug mode. Use that for specs.
This commit is contained in:
Max Brunsfeld 2014-09-02 22:13:46 -07:00
parent 545e575508
commit 66a50d4e4a
3 changed files with 24 additions and 2 deletions

View file

@ -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