Changeset View
Changeset View
Standalone View
Standalone View
arcanist/configuration/ArcanistBitcoinABCConfiguration.php
- This file was added.
<?php | |||||
class ArcanistBitcoinABCConfiguration extends ArcanistConfiguration { | |||||
public function willRunWorkflow($command, ArcanistWorkflow $workflow) { | |||||
if ($command === 'unit') { | |||||
$buildWorkflow = $workflow->buildChildWorkflow('build', | |||||
Fabien: Here I choose to build in the default directory, without clearing the CMake cache.
This will… | |||||
FabienAuthorUnsubmitted Done Inline ActionsSince the last arc build update, the directory (and the cache as a consequence) is always deleted after the build. Fabien: Since the last `arc build` update, the directory (and the cache as a consequence) is always… | |||||
array('test_bitcoin')); | |||||
return $buildWorkflow->run(); | |||||
} | |||||
return 0; | |||||
} | |||||
} |
Here I choose to build in the default directory, without clearing the CMake cache.
This will speedup arc unit in most case, but can eventually lead to errors if the cache is in a state that prevents the build.
I think it's good as is, because fixing it is straightforward, but let me know if you disagree.