From 28f07d6f030eb2bc8493aa5d58267d20ff32ac3a Mon Sep 17 00:00:00 2001 From: George FunBook Date: Thu, 6 Jun 2024 06:24:52 -0500 Subject: [PATCH] add deprecation warnings to demos --- build/index.js | 2 +- src/Flixel.hx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build/index.js b/build/index.js index 1e35e0f..ae46561 100644 --- a/build/index.js +++ b/build/index.js @@ -2887,7 +2887,7 @@ function Command_putEnv(s,v) { } } function Flixel_buildProjects(target,args) { - return Haxelib_run(["flixel-tools","bp",target].concat(args).concat(["-Dno-deprecation-warnings"])); + return Haxelib_run(["flixel-tools","bp",target].concat(args)); } function Haxelib_run(args) { return Command_run("haxelib",["run"].concat(args)); diff --git a/src/Flixel.hx b/src/Flixel.hx index 8cc64c2..aa00b6d 100644 --- a/src/Flixel.hx +++ b/src/Flixel.hx @@ -1,6 +1,7 @@ import Command.ExitCode; import OpenFL.Target; -function buildProjects(target:Target, args:Array):ExitCode { - return Haxelib.run(["flixel-tools", "bp", target].concat(args).concat(["-Dno-deprecation-warnings"])); +function buildProjects(target:Target, args:Array):ExitCode +{ + return Haxelib.run(["flixel-tools", "bp", target].concat(args)); }