         lines.pushScoped "#{k}=#{v}"
 
     lines.push '' # Ninja requires a newline at the end :)
+    console.log lines.join '\n'
     lines.join '\n'
 
 MistNinjaBuilder.hashCommand = (command)->

    # it is a pre-req and this method does not check for it.
    results = []
    for k, p of dict
      for v, i in p
        results[i] = (results[i] || str).replace "%#{k}", v
    return results

    targets = []


    if statement.main_inputs.length
      statement.main_inputs =
        MistGlobber.doAllGlobs statement.main_inputs, @mistDir
      # TODO error on no inputs (but only if globs were supplied)

    if statement.foreach
      for inp in statement.main_inputs
