|
|
|
|
|
|
241
|
# The stripping implementations here and in copyTestsFilteringIgnores should be kept consistent.
|
241
|
# The stripping implementations here and in copyTestsFilteringIgnores should be kept consistent.
|
|
242
|
sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
|
242
|
sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
|
|
243
|
done
|
243
|
done
|
|
244
|
- "$EXECPATH"/gradlew test --configure-on-demand --parallel
|
|
|
|
|
|
244
|
+ "$EXECPATH"/gradlew test --configure-on-demand --parallel &
|
|
245
|
popd
|
245
|
popd
|
|
246
|
|
246
|
|
|
247
|
current_exercise_number=$((current_exercise_number + 1))
|
247
|
current_exercise_number=$((current_exercise_number + 1))
|
|
|
|
|
|
|
269
|
|
269
|
|
|
270
|
clean "${build_dir}"
|
270
|
clean "${build_dir}"
|
|
271
|
|
271
|
|
|
272
|
- # Make a local version of trackler that includes the source from this repo.
|
|
|
|
273
|
- git_clone "x-api" "${xapi_home}"
|
|
|
|
274
|
- git_clone "trackler" "${trackler_home}"
|
|
|
|
275
|
- assert_ruby_installed "${trackler_home}"
|
|
|
|
|
|
272
|
+ # Download everything we need in parallel
|
|
|
|
273
|
+ git_clone "x-api" "${xapi_home}" &
|
|
|
|
274
|
+ git_clone "trackler" "${trackler_home}" &
|
|
|
|
275
|
+ download_exercism_cli $(get_operating_system) $(get_cpu_architecture) "${exercism_home}" &
|
|
|
|
276
|
+ wait
|
|
|
|
277
|
+
|
|
|
|
278
|
+ # Check and install the ruby stuff we need in parallel
|
|
|
|
279
|
+ assert_ruby_installed "${trackler_home}" &
|
|
|
|
280
|
+ assert_ruby_installed "${xapi_home}" &
|
|
|
|
281
|
+ wait
|
|
|
|
282
|
+
|
|
|
|
283
|
+ # Make a local version of trackler
|
|
276
|
make_local_trackler "${trackler_home}" "${xapi_home}"
|
284
|
make_local_trackler "${trackler_home}" "${xapi_home}"
|
|
277
|
|
285
|
|
|
278
|
- # Stand-up a local instance of x-api so we can fetch the exercises through it.
|
|
|
|
279
|
- assert_ruby_installed "${xapi_home}"
|
|
|
|
|
|
286
|
+ # Start-up a local instance of x-api so we can fetch the exercises through it.
|
|
280
|
start_x_api "${xapi_home}"
|
287
|
start_x_api "${xapi_home}"
|
|
281
|
|
288
|
|
|
282
|
# Create a CLI install and config just for this build; this script does not use your CLI install.
|
289
|
# Create a CLI install and config just for this build; this script does not use your CLI install.
|
|
283
|
- download_exercism_cli $(get_operating_system) $(get_cpu_architecture) "${exercism_home}"
|
|
|
|
284
|
configure_exercism_cli "${exercism_home}" "${exercism_configfile}" "${xapi_port}"
|
290
|
configure_exercism_cli "${exercism_home}" "${exercism_configfile}" "${xapi_port}"
|
|
285
|
|
291
|
|
|
286
|
solve_all_exercises "${exercism_home}" "${exercism_configfile}"
|
292
|
solve_all_exercises "${exercism_home}" "${exercism_configfile}"
|