-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Joalor64GH/main
attempted sustain notes
- Loading branch information
Showing
9 changed files
with
137 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
|
||
/export | ||
export/ | ||
.vscode/* | ||
index.html | ||
style.css | ||
converter/*.json | ||
converter/2hot.json | ||
source/api/gamejolt/GJKeys.hx | ||
source/api/newgrounds/APIStuff.hx | ||
source/states/FuckYouState.hx | ||
/.haxelib | ||
.haxelib/ | ||
desktop.ini | ||
dump/ | ||
|
||
## For mac or smth | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import sys.FileSystem; | ||
import sys.io.File; | ||
import haxe.Json; | ||
|
||
typedef Library = { | ||
var name:String; | ||
var type:String; | ||
var ?version:String; | ||
var ?dir:String; | ||
var ?ref:String; | ||
var ?url:String; | ||
} | ||
|
||
class Main { | ||
public static function main():Void { | ||
if (!FileSystem.exists('.haxelib')) | ||
FileSystem.createDirectory('.haxelib'); | ||
|
||
final json:Array<Library> = Json.parse(File.getContent('./hmm.json')).dependencies; | ||
|
||
for (lib in json) { | ||
switch (lib.type) { | ||
case "haxelib": | ||
Sys.command('haxelib --quiet install ${lib.name} ${lib.version != null ? lib.version : ""}'); | ||
case "git": | ||
Sys.command('haxelib --quiet git ${lib.name} ${lib.url}'); | ||
default: | ||
Sys.println('Cannot resolve library of type "${lib.type}"'); | ||
} | ||
} | ||
|
||
Sys.exit(0); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters