Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
set location of hashlink clone to hashlink at base
Browse files Browse the repository at this point in the history
  • Loading branch information
PXshadow committed Jun 17, 2022
1 parent 5319ed3 commit 346b230
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ function main() {
deleteDirectoryRecursively("hashlink");
Sys.println("---------------------");
Sys.command("sudo apt-get install libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libmbedtls-dev libuv1-dev");
Sys.command("sudo git clone https://github.com/HaxeFoundation/hashlink /usr/hashlink");
Sys.setCwd("/usr/hashlink"); //change dir to hashlink
Sys.command("sudo git clone https://github.com/HaxeFoundation/hashlink");
Sys.setCwd("hashlink");
Sys.command("sudo make");
Sys.command("sudo make all");
Sys.command("sudo make install");
Sys.command("sudo ldconfig");
Sys.command('echo "' + Sys.getCwd() + '" >> ' + Sys.getEnv("GITHUB_PATH"));
Sys.setCwd("..");
case "Mac":
Sys.command('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'); //setup homebrew
Sys.command("brew install hashlink");
Expand Down

0 comments on commit 346b230

Please sign in to comment.