Created
May 25, 2022 04:20
-
-
Save hucancode/7a53a9eaa1b5e4b86307cb0d464a584c to your computer and use it in GitHub Desktop.
UE5 build current project
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
#!/usr/bin/env fish | |
set ubt /unreal/5/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh | |
set prj (fd -d 1 -t f -e uproject) | |
if test -z "$prj" | |
return 1 | |
end | |
set target (echo $prj | sd / . | rev | cut -f 2 -d . | rev) | |
$ubt {$target}Editor Linux Development $PWD/$prj -waitmutex |
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
#!/usr/bin/env bash | |
set ubt=/unreal/5/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh | |
set prj=$(find . -maxdepth 1 -type f -name "*.uproject") | |
if test -z "$prj" | |
exit 1 | |
end | |
set target=$(echo $prj | sed 's|/|.|g' | rev | cut -f 2 -d . | rev) | |
$ubt {$target}Editor Linux Development $PWD/$prj -waitmutex |
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
#!/usr/bin/env fish | |
set ubt "/Users/Shared/Epic Games/UE_5.0/Engine/Build/BatchFiles/Mac/Build.sh" | |
set prj (fd -d 1 -t f -e uproject) | |
if test -z "$prj" | |
return 1 | |
end | |
set target (echo $prj | sd / . | rev | cut -f 2 -d . | rev) | |
$ubt {$target}Editor Linux Development $PWD/$prj -waitmutex |
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
#!/usr/bin/env bash | |
ubt="/Users/Shared/Epic Games/UE_5.0/Engine/Build/BatchFiles/Mac/Build.sh" | |
prj=$(find . -maxdepth 1 -type f -name "*.uproject") | |
if test -z "$prj" | |
exit 1 | |
fi | |
target=$(echo $prj | sed 's|/|.|g' | rev | cut -f 2 -d . | rev) | |
$ubt {$target}Editor Linux Development $PWD/$prj -waitmutex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment