import com.haxepunk.utils.HaxelibInfo;

class Setup
{
	public static function setup()
	{
		installDependencies();
		Sys.command('haxelib run $OPENFL setup');
	}

	public static function update()
	{
		Sys.command("haxelib update HaxePunk");
		installDependencies();
	}

	public static function installDependencies()
	{
		for (field in Reflect.fields(HaxelibInfo.install))
		{
			Sys.command("haxelib install " + field + " " + Reflect.field(HaxelibInfo.install, field));
		}
	}

	private static inline var OPENFL = "lime";
}

import com.haxepunk.utils.HaxelibInfo;

class Setup
{
	public static function setup()
	{
		installDependencies();
		Sys.command("haxelib", ["run", OPENFL, "setup"]);
	}

	public static function update()
	{
		Sys.command("haxelib" ["update", "HaxePunk"]);
		installDependencies();
	}

	public static function installDependencies()
	{
		for (field in Reflect.fields(HaxelibInfo.install))
		{
			Sys.command("haxelib" ["install", field, Reflect.field(HaxelibInfo.install, field)]);
		}
	}

	private static inline var OPENFL = "lime";
}

Fix command call in setup tool
Fix command call in setup tool
scriptorum/HaxePunk,wselken/HaxePunk,scriptorum/HaxePunk,HaxePunk/HaxePunk,MattTuttle/HaxePunk