<commit_before>require 'formula'

class NinjaIde < Formula
  homepage 'http://ninja-ide.org/'
  url 'https://github.com/ninja-ide/ninja-ide/archive/v2.3.tar.gz'
  sha1 '64ccbbf8521a8fbef43c3d57cf616b7f8b466460'

  depends_on :python
  depends_on "MacFSEvents" => [:python, "fsevents"]
  depends_on 'pyqt'

  def install
    system "python", "setup.py", "install", "--prefix=#{prefix}",
                     "--single-version-externally-managed", "--record=installed.txt"
    bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
  end

  test do
    system "ninja-ide", "-h"
  end<commit_msg>ninja-ide: use full path of executable<commit_after>require 'formula'

class NinjaIde < Formula
  homepage 'http://ninja-ide.org/'
  url 'https://github.com/ninja-ide/ninja-ide/archive/v2.3.tar.gz'
  sha1 '64ccbbf8521a8fbef43c3d57cf616b7f8b466460'

  depends_on :python
  depends_on "MacFSEvents" => [:python, "fsevents"]
  depends_on 'pyqt'

  def install
    system "python", "setup.py", "install", "--prefix=#{prefix}",
                     "--single-version-externally-managed", "--record=installed.txt"
    bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
  end

  test do
    system bin/"ninja-ide", "-h"
  end
{'fraction_non_alphanumeric': 0.15881883479648842, 'fraction_numerical': 0.041500399042298484, 'mean_word_length': 3.75, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '7516254', 'n_tokens_mistral': 519, 'n_tokens_neox': 476, 'n_words': 80}