Skip to content

Commit 4807e9b

Browse files
committed
180 Add all option for CI script
1 parent 161f926 commit 4807e9b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

script/build

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
#
33
########################################################################
44
# Integration Build Script
5+
# $1 = all (Run integration tests)
56
#
67
# Maintainer: id774 <idnanashi@gmail.com>
78
#
8-
# v1.1 6/16,2012
9+
# v1.2 6/16,2012
10+
# Add all option for integration tests.
11+
# v1.1 6/14,2012
912
# Correspond to unscaffold subcommand.
1013
# v1.0 3/16,2012
1114
# First.
@@ -59,12 +62,16 @@ added_tests() {
5962
test_config log info finished.
6063
}
6164

65+
integration() {
66+
load_tests
67+
added_tests
68+
}
69+
6270
main() {
6371
kickstart
6472
exec_rspec
65-
load_tests
66-
added_tests
73+
test -n "$1" && integration
6774
}
6875

6976
set -ex
70-
main
77+
main $*

0 commit comments

Comments
 (0)