fix actions builds (HOPEFULLY)

This commit is contained in:
lunarcleint
2024-02-25 22:14:26 -07:00
parent abb953647e
commit d2da946930
3 changed files with 7 additions and 53 deletions
+3 -7
View File
@@ -34,18 +34,14 @@ class Update {
}
for(lib in libs) {
// install libs
var globalism = lib.global == "true" ? "--global" : "";
var globalism:Null<String> = lib.global == "true" ? "--global" : null;
switch(lib.type) {
case "lib":
prettyPrint((lib.global == "true" ? "Globally installing" : "Locally installing") + ' "${lib.name}"...');
Sys.command('haxelib $globalism install ${lib.name} ${lib.version != null ? " " + lib.version : " "}');
Sys.command('haxelib install ${lib.name} ${lib.version != null ? " " + lib.version : " "}${globalism != null ? ' $globalism' : ''} --always');
case "git":
prettyPrint((lib.global == "true" ? "Globally installing" : "Locally installing") + ' "${lib.name}" from git url "${lib.url}"');
if (lib.ref != null)
Sys.command('haxelib $globalism git ${lib.name} ${lib.url} ${lib.ref}');
else
Sys.command('haxelib $globalism git ${lib.name} ${lib.url}');
Sys.command('haxelib git ${lib.name} ${lib.url}${lib.ref != null ? ' ${lib.ref}' : ''}${globalism != null ? ' $globalism' : ''} --always');
default:
prettyPrint('Cannot resolve library of type "${lib.type}"');
}
+1 -1
View File
@@ -9,7 +9,7 @@
<git name="flixel-addons" url="https://github.com/FNF-CNE-Devs/flixel-addons" />
<!-- Other Libraries -->
<git name="hscript-improved" url="https://www.github.com/FNF-CNE-Devs/hscript-improved" ref="custom-classes" />
<git name="hscript-improved" url="https://github.com/FNF-CNE-Devs/hscript-improved" ref="custom-classes" />
<git name="discord-rpc" url="https://github.com/Aidan63/linc_discord-rpc" />
<git name="flxanimate" url="https://github.com/FNF-CNE-Devs/flxanimate" />
<lib name="hxvlc" />
+3 -45
View File
@@ -529,48 +529,10 @@ class Charter extends UIState {
buildNoteTypesUI();
refreshBPMSensitive();
// Undo Stuffs :D
__relinkSelection();
__relinkUndos();
__applyPlaytestInfo();
/*
var analyzer:AudioAnalyzer = new AudioAnalyzer(FlxG.sound.music);
var waveFormDetail:Int = 40; // min 1, max 40
var beatHeight:Float = Conductor.stepsPerBeat*40;
var measureHeight:Float = beatHeight*Conductor.beatsPerMeasure;
for (measure in 0...Std.int(Conductor.getMeasuresLength())) {
for (beat in 0...Std.int(Conductor.beatsPerMeasure)) {
var startTime:Float = Conductor.getTimeForStep((measure*Conductor.getMeasureLength()) + (beat*Conductor.stepsPerBeat));
var endTime:Float = Conductor.getTimeForStep((measure*Conductor.getMeasureLength()) + ((beat+1)*Conductor.stepsPerBeat));
var anlyzedData:Array<Float> = [
for (i in 0...Std.int(Conductor.stepsPerBeat*waveFormDetail))
analyzer.analyze(
startTime + ((endTime-startTime)*(i/Std.int(Conductor.stepsPerBeat*waveFormDetail))),
startTime + ((endTime-startTime)*((i+1)/Std.int(Conductor.stepsPerBeat*waveFormDetail)))
)
];
var sprite:FlxSprite = new FlxSprite(0, (measureHeight*measure) + (beatHeight*beat)).makeGraphic(
160, Std.int(Conductor.stepsPerBeat*40), 0, true
);
sprite.cameras = [charterCamera];
add(sprite);
sprite.pixels.lock();
for (i=>segement in anlyzedData) {
var w:Float = (160)*segement;
var x:Float = ((40*4) / 2) - (w / 2);
var h:Float = beatHeight/anlyzedData.length;
var y:Float = (beatHeight/Std.int(Conductor.stepsPerBeat*waveFormDetail))*i;
sprite.pixels.fillRect(new Rectangle(x, y, w, h), 0xFFFFFFFF);
}
sprite.pixels.unlock();
}
}
*/
}
public var __endStep:Float = 0;
@@ -611,12 +573,8 @@ class Charter extends UIState {
selection.push(cast n);
else if (FlxG.keys.pressed.SHIFT)
selection.remove(cast n);
else {
if (n is CharterNote)
deleteSingleSelection(n);
else
selection = [cast n];
}
else
selection = [cast n];
}
if (FlxG.mouse.justReleasedRight) {