Skip to content

Commit

Permalink
Refactor: Prefix all temp files with __tcframe_
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed May 24, 2017
1 parent 1abf62a commit 9d24a32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/tcframe/evaluator/Evaluator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace tcframe {

class Evaluator {
public:
static constexpr const char* EVALUATION_OUT_FILENAME = "_evaluation.out";
static constexpr const char* EVALUATION_OUT_FILENAME = "__tcframe_evaluation.out";

virtual ~Evaluator() {}

Expand Down
2 changes: 1 addition & 1 deletion include/tcframe/evaluator/scorer/Scorer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace tcframe {

class Scorer {
public:
static constexpr const char* SCORING_OUT_FILENAME = "_scoring.out";
static constexpr const char* SCORING_OUT_FILENAME = "__tcframe_scoring.out";

virtual ~Scorer() {}

Expand Down
2 changes: 1 addition & 1 deletion include/tcframe/os/OperatingSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace tcframe {

class OperatingSystem {
private:
static constexpr const char* ERROR_FILENAME = "_error.out";
static constexpr const char* ERROR_FILENAME = "__tcframe_error.out";

public:
virtual istream* openForReading(const string& filename) {
Expand Down
2 changes: 1 addition & 1 deletion include/tcframe/runner/Runner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class Runner {
}

void cleanUp() {
os_->execute(ExecutionRequestBuilder().setCommand("rm _*.out").build());
os_->execute(ExecutionRequestBuilder().setCommand("rm __tcframe_*").build());
}

static map<string, string> getHelperCommands(const Args& args, const StyleConfig& styleConfig) {
Expand Down

0 comments on commit 9d24a32

Please sign in to comment.