<commit_before># 如果在第一行加了这个 → #!/usr/bin/cat ← 就不能用了。
# ruby: no Ruby script found in input (LoadError)
#==============================================================================
# ■ windoge_make.rb
#------------------------------------------------------------------------------
#   君住Linux中，我住Windows里。日日思君不见君，共通编译器。
#   警告几时休，错误何时已？但愿我心藏君境，定不负移植技。
#   ——<NAME>《伪·卜算子·编译》
#==============================================================================

require 'io/console'

class WindogeMake
	#--------------------------------------------------------------------------
	# ● 常量
	#--------------------------------------------------------------------------
	BATCH_FILENAME = "windoge_make.bat"
	#--------------------------------------------------------------------------
	# ● 初始化对象
	#--------------------------------------------------------------------------
	def initialize(argv = ARGV)
		@argv = argv
	end
	#--------------------------------------------------------------------------
	# ● 输出帮助
	#--------------------------------------------------------------------------
	def display_help
		puts <<~EOF
			= Usage =
			> ruby windoge_make.rb -D... -I... -L... -l...
			> rem 作为开发者，你不应该在库目录的名称中包含空格。
			Typical arguments:
				-IC:\\Ruby23\\include\\ruby-2.3.0
				-IC:\\Ruby23\\include\\ruby-2.3.0\\i386-mingw32
				-DGLFW_DLL -DGLEW_STATIC
				-ID:\\glfw-3.2.bin.WIN32\\include
				-ID:\\glew-1.13.0\\include
				-ID:\\glm-0.9.7.5
				-ID:\\portaudio\\include
				-ID:\libogg-1.3.2\include
				-ID:\libvorbis-1.3.5\include
				-O3 -LD:\\bin -llibstdc++
				-LC:\\Ruby23\\lib
				-Wl,--enable-auto-image-base,-subsystem,windows
				-lmsvcrt-ruby230 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi
				-LD:\\glfw-3.2.bin.WIN32\\lib-mingw-w64
				-LD:\\glew-1.13.0\\lib\\Release\\Win32
				-lglfw3dll -lglew32s -lopengl32 -lportaudio_x86 -lvorbisfile
			All ‘-Idir’ options will be translated to ‘-isystem dir’ and no way back.
			libstdc艹 is for exceptions and other random stuff; omit it if not used.
			-Wall, -Wextra and some required arguments are built into this script.
			‘D:\\bin’ above is where you put all libraries (.lib files) and DLLs.
		EOF
	end
	#--------------------------------------------------------------------------
	# ● 请按任意键继续. . .
	#--------------------------------------------------------------------------
	def pause
		print "请按任意键继续……"
		$stdin.getch
	end
	#--------------------------------------------------------------------------<commit_msg>Returned to Windows PAUSE command since $stdin.getch doesn't like the Enter key<commit_after># 如果在第一行加了这个 → #!/usr/bin/cat ← 就不能用了。
# ruby: no Ruby script found in input (LoadError)
#==============================================================================
# ■ windoge_make.rb
#------------------------------------------------------------------------------
#   君住Linux中，我住Windows里。日日思君不见君，共通编译器。
#   警告几时休，错误何时已？但愿我心藏君境，定不负移植技。
#   ——<NAME>《伪·卜算子·编译》
#==============================================================================

class WindogeMake
	#--------------------------------------------------------------------------
	# ● 常量
	#--------------------------------------------------------------------------
	BATCH_FILENAME = "windoge_make.bat"
	#--------------------------------------------------------------------------
	# ● 初始化对象
	#--------------------------------------------------------------------------
	def initialize(argv = ARGV)
		@argv = argv
	end
	#--------------------------------------------------------------------------
	# ● 输出帮助
	#--------------------------------------------------------------------------
	def display_help
		puts <<~EOF
			= Usage =
			> ruby windoge_make.rb -D... -I... -L... -l...
			> rem 作为开发者，你不应该在库目录的名称中包含空格。
			Typical arguments:
				-IC:\\Ruby23\\include\\ruby-2.3.0
				-IC:\\Ruby23\\include\\ruby-2.3.0\\i386-mingw32
				-DGLFW_DLL -DGLEW_STATIC
				-ID:\\glfw-3.2.bin.WIN32\\include
				-ID:\\glew-1.13.0\\include
				-ID:\\glm-0.9.7.5
				-ID:\\portaudio\\include
				-ID:\libogg-1.3.2\include
				-ID:\libvorbis-1.3.5\include
				-O3 -LD:\\bin -llibstdc++
				-LC:\\Ruby23\\lib
				-Wl,--enable-auto-image-base,-subsystem,windows
				-lmsvcrt-ruby230 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi
				-LD:\\glfw-3.2.bin.WIN32\\lib-mingw-w64
				-LD:\\glew-1.13.0\\lib\\Release\\Win32
				-lglfw3dll -lglew32s -lopengl32 -lportaudio_x86 -lvorbisfile
			All ‘-Idir’ options will be translated to ‘-isystem dir’ and no way back.
			libstdc艹 is for exceptions and other random stuff; omit it if not used.
			-Wall, -Wextra and some required arguments are built into this script.
			‘D:\\bin’ above is where you put all libraries (.lib files) and DLLs.
		EOF
	end
	#--------------------------------------------------------------------------
	# ● 请按任意键继续. . .
	#--------------------------------------------------------------------------
	def pause
		system "pause"
	end
	#--------------------------------------------------------------------------
{'fraction_non_alphanumeric': 0.46626506024096387, 'fraction_numerical': 0.02530120481927711, 'mean_word_length': 1.0814876723777684, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1315056', 'n_tokens_mistral': 1809, 'n_tokens_neox': 1648, 'n_words': 286}