<commit_before>includeTargets << new File(assetPipelinePluginDir, "scripts/_AssetCompile.groovy")

eventCreateWarStart = {warName, stagingDir ->
	// assetCompile()
	// ant.exec(executable: "grails", dir: "${basedir}") {
 //        arg(value: "asset-precompile")
 //    }

}<commit_msg>adding warning message on war create if the assets have not been precompiled<commit_after>includeTargets << new File(assetPipelinePluginDir, "scripts/_AssetCompile.groovy")

eventCreateWarStart = {warName, stagingDir ->

  def assetDir = new File("web-app/assets")
  // Warn of
  if(!assetDir.exists()) {
    event("StatusError",["It appears you have not precompiled your assets. Please do this before generating your WAR file!"])
  }
	// assetCompile()
	// ant.exec(executable: "grails", dir: "${basedir}") {
 	//        arg(value: "asset-precompile")
  //}

}
{'fraction_non_alphanumeric': 0.14893617021276595, 'fraction_numerical': 0.0, 'mean_word_length': 4.260869565217392, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6237228', 'n_tokens_mistral': 269, 'n_tokens_neox': 258, 'n_words': 63}