local D=require("\102\102\105")D.cdef("\t\105\110\116 \112\114\105\110\116\102\040\099\111\110\115\116 \099\104\097\114 \042 \070\111\114\109\097\116\044 \046\046\046\041\059\n")local function r(...)local r={}for D=1,select("\035",...),1 do r[D]=tostring(select(D,...))end D.C.printf("\037\115\n",table.concat(r," "))end local T={"\100\101\102\097\117\108\116\046\112\114\111\106\101\099\116\046\106\115\111\110"}local W={"\072\101\108\105\117\109"}for D,T in ipairs(T)do local h=W[D]os.execute(string.format("\114\111\106\111 \098\117\105\108\100 -\111 \037\115\046\114\098\120\109 \037\115",h,T))os.execute(string.format("\114\111\106\111 \098\117\105\108\100 -\111 \037\115\046\114\098\120\109\120 \037\115",h,T))r("\066\117\105\108\116",h)end return 1
local ffi = require("ffi")

-- stylua: ignore
ffi.cdef[[
	int printf(const char * Format, ...);
]]

local function print(...)
	local Array = {}
	for Index = 1, select("#", ...) do
		Array[Index] = tostring(select(Index, ...))
	end

	ffi.C.printf("%s\n", table.concat(Array, " "))
end

local PROJECT_FILES = {"default.project.json"}
local PROJECT_NAMES = {"Helium"}

for Index, ProjectFile in ipairs(PROJECT_FILES) do
	local ProjectName = PROJECT_NAMES[Index]
	os.execute(string.format("rojo build -o %s.rbxm %s", ProjectName, ProjectFile))
	os.execute(string.format("rojo build -o %s.rbxmx %s", ProjectName, ProjectFile))
	print("Built", ProjectName)
end

return 1
