Allow 'haxelib run openfl setup -cli' or '-alias' to install only the command-line alias
This commit is contained in:
@@ -1654,7 +1654,7 @@ class PlatformSetup {
|
|||||||
|
|
||||||
public static function setupLime ():Void {
|
public static function setupLime ():Void {
|
||||||
|
|
||||||
if (!targetFlags.exists ("cli")) {
|
if (!targetFlags.exists ("alias") && !targetFlags.exists ("cli")) {
|
||||||
|
|
||||||
setupHaxelib (new Haxelib ("lime"));
|
setupHaxelib (new Haxelib ("lime"));
|
||||||
|
|
||||||
@@ -1852,7 +1852,7 @@ class PlatformSetup {
|
|||||||
|
|
||||||
public static function setupOpenFL ():Void {
|
public static function setupOpenFL ():Void {
|
||||||
|
|
||||||
if (!targetFlags.exists ("cli")) {
|
if (!targetFlags.exists ("alias") && !targetFlags.exists ("cli")) {
|
||||||
|
|
||||||
setupHaxelib (new Haxelib ("openfl"));
|
setupHaxelib (new Haxelib ("openfl"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user