From c8cdb8977a9c3e8c9ca2ca71715221ab2b7e6ce7 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 26 Aug 2013 10:08:49 -0400 Subject: [PATCH] shoot: move game to a src sub-directory Signed-off-by: Jean Privat --- benchmarks/bench_engines.sh | 4 ++-- examples/shoot/{ => src}/shoot_logic.nit | 0 tests/testfull.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename examples/shoot/{ => src}/shoot_logic.nit (100%) diff --git a/benchmarks/bench_engines.sh b/benchmarks/bench_engines.sh index df4bba2..1584308 100755 --- a/benchmarks/bench_engines.sh +++ b/benchmarks/bench_engines.sh @@ -119,7 +119,7 @@ function run_compiler() bench_command "nitg-g" "nitg --global ../src/test_parser.nit" "./nitg.$title.bin" -v --global --no-cc ../src/test_parser.nit run_command "$@" ../src/nit.nit -o "nit.$title.bin" bench_command "nit" "nit ../src/test_parser.nit ../src/location.nit" "./nit.$title.bin" -v ../src/test_parser.nit -- -n ../src/location.nit - run_command "$@" ../examples/shoot/shoot_logic.nit -o "shoot.$title.bin" + run_command "$@" ../examples/shoot/src/shoot_logic.nit -o "shoot.$title.bin" bench_command "shoot" "shoot_logic" "./shoot.$title.bin" run_command "$@" ../tests/bench_bintree_gen.nit -o "bintrees.$title.bin" bench_command "bintrees" "bench_bintree_gen 16" "./bintrees.$title.bin" 16 @@ -129,7 +129,7 @@ function run_compiler() bench_command "nitg-s" "nitg --separate ../src/nitg.nit" "./nitg.$title.bin" -v --no-cc --separate ../src/nitg.nit run_command "$@" ../src/nit.nit -o "nit.$title.bin" bench_command "nit" "nit ../src/test_parser.nit ../src/rapid_type_analysis.nit" "./nit.$title.bin" -v ../src/test_parser.nit -- -n ../src/rapid_type_analysis.nit - run_command "$@" ../examples/shoot/shoot_logic.nit -o "shoot.$title.bin" + run_command "$@" ../examples/shoot/src/shoot_logic.nit -o "shoot.$title.bin" bench_command "shoot" "shoot_logic 30" "./shoot.$title.bin" 30 run_command "$@" ../tests/bench_bintree_gen.nit -o "bintrees.$title.bin" bench_command "bintrees" "bench_bintree_gen 18" "./bintrees.$title.bin" 18 diff --git a/examples/shoot/shoot_logic.nit b/examples/shoot/src/shoot_logic.nit similarity index 100% rename from examples/shoot/shoot_logic.nit rename to examples/shoot/src/shoot_logic.nit diff --git a/tests/testfull.sh b/tests/testfull.sh index fb1595d..daf49f4 100755 --- a/tests/testfull.sh +++ b/tests/testfull.sh @@ -6,4 +6,4 @@ do y="$x/$bx.nit" test -f $y && list="$list $y" done -./tests.sh "$@" *.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/shoot_logic.nit ../lib/*.nit $list ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitg.nit ../src/nitx.nit ../src/ni_nitdoc.nit ../src/netdbg.nit ../src/nitlight.nit ../contrib/sort_downloads/src/sort_downloads.nit +./tests.sh "$@" *.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/src/shoot_logic.nit ../lib/*.nit $list ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitg.nit ../src/nitx.nit ../src/ni_nitdoc.nit ../src/netdbg.nit ../src/nitlight.nit ../contrib/sort_downloads/src/sort_downloads.nit -- 1.7.9.5