forked from tcooc/AdditionalPipesBC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'arasium/master'
- Loading branch information
Showing
9 changed files
with
59 additions
and
39 deletions.
There are no files selected for viewing
Submodule BuildCraft
updated
168 files
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
git submodule update --init | ||
cscript patchbuild.vbs > BuildCraft/build-patched.xml | ||
ant |
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,4 +1,16 @@ | ||
#!/bin/bash | ||
|
||
git submodule update --init | ||
|
||
IFS='' | ||
while read line; do | ||
echo "$line" | ||
if [[ "$line" = " <unzip dest=\"\${forge.dir}/..\" src=\"\${download.dir}/\${forge.name}\"/>" ]]; then | ||
echo " <!-- Fix library URLs -->" | ||
echo " <replace file=\"\${forge.dir}/fml/fml.py\" token=\"default_url = 'http://s3.amazonaws.com/Minecraft.Download/libraries'\" value=\"default_url = 'https://libraries.minecraft.net'\"/>" | ||
echo " <replace file=\"\${forge.dir}/fml/fml.py\" token=\"base_url = 'http://s3.amazonaws.com/Minecraft.Resources'\" value=\"base_url = 'http://resources.download.minecraft.net'\"/>" | ||
|
||
fi | ||
done < BuildCraft/build.xml | sed 's/9.11.1.949/9.11.1.953/' > BuildCraft/build-patched.xml | ||
|
||
ant |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Set objFSO = CreateObject("Scripting.FileSystemObject") | ||
Set objFile = objFSO.OpenTextFile("BuildCraft/build.xml", ForReading) | ||
|
||
Const ForReading = 1 | ||
Dim line | ||
Do Until objFile.AtEndOfStream | ||
line = objFile.ReadLine | ||
IF line = " <property name=""forge.version"" value=""9.11.1.949""/>" | ||
WScript.Echo " <property name=""forge.version"" value=""9.11.1.953""/>" | ||
ELSE | ||
WScript.Echo line | ||
END IF | ||
|
||
IF line = " <unzip dest=""${forge.dir}/.."" src=""${download.dir}/${forge.name}""/>" | ||
WScript.Echo " <!-- Fix library URLs -->" | ||
WScript.Echo " <replace file=""${forge.dir}/fml/fml.py"" token=""default_url = 'http://s3.amazonaws.com/Minecraft.Download/libraries'"" value=""default_url = 'https://libraries.minecraft.net'""/>" | ||
WScript.Echo " <replace file=""${forge.dir}/fml/fml.py"" token=""base_url = 'http://s3.amazonaws.com/Minecraft.Resources'"" value=""base_url = 'http://resources.download.minecraft.net'""/>" | ||
END IF | ||
Loop | ||
objFile.Close |
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