<commit_before>/**
 * @file
 *
 * Distributed under the Boost Software License, Version 1.0.
 * See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
 */

#include "meka/action/build.hpp"

#include "meka/package.hpp"

#include <boost/filesystem.hpp>
#include <boost/regex.hpp>
#include <boost/algorithm/string/join.hpp>

#include <unordered_map>
#include <fstream>

namespace meka {

  void build(meka::package const& package) {
    std::system("ninja -f build/build.ninja");
  }

}<commit_msg>Use NINJA environment variable in the build action as well.<commit_after>/**
 * @file
 *
 * Distributed under the Boost Software License, Version 1.0.
 * See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
 */

#include "meka/action/build.hpp"

#include "meka/package.hpp"

#include <boost/filesystem.hpp>
#include <boost/regex.hpp>
#include <boost/algorithm/string/join.hpp>

#include <unordered_map>
#include <fstream>

namespace meka {

  void build(meka::package const& package) {
    std::system("${NINJA:-ninja} -f build/build.ninja");
  }

}
{'fraction_non_alphanumeric': 0.1446886446886447, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 4.410891089108911, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1847579', 'n_tokens_mistral': 392, 'n_tokens_neox': 370, 'n_words': 91}