-
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.
* Build Wren * Rename scripts * Build as C * Copy exes to builtin * Linux mkdir * Set the working directory * Move scripts into platform folders * Actually build generate * Cleanup input parameters * Update version * Update builtin version
- Loading branch information
Showing
51 changed files
with
393 additions
and
300 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
echo "Linux Build!" | ||
|
||
# Stop on first error | ||
set -e | ||
|
||
SCRIPTS_DIR=$(dirname "$0") | ||
|
||
# Build Client | ||
echo $SCRIPTS_DIR/build-client | ||
eval $SCRIPTS_DIR/build-client | ||
|
||
# Build BuiltIns | ||
echo $SCRIPTS_DIR/build-builtins | ||
eval $SCRIPTS_DIR/build-builtins | ||
|
||
# Build SWhere tool | ||
echo $SCRIPTS_DIR/build-swhere | ||
eval $SCRIPTS_DIR/build-swhere | ||
|
||
# Build PackageManager | ||
echo $SCRIPTS_DIR/build-packagemanager | ||
eval $SCRIPTS_DIR/build-packagemanager |
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,40 @@ | ||
#!/bin/bash | ||
echo "Linux Build Client!" | ||
|
||
SCRIPTS_DIR=$(dirname "$0") | ||
ROOT_DIR=$SCRIPTS_DIR/../.. | ||
SOURCE_DIR=$ROOT_DIR/Source | ||
OUT_DIR=$ROOT_DIR/out | ||
BUILTIN_DIR=$OUT_DIR/BuiltIn | ||
|
||
# Stop on first error | ||
set -e | ||
|
||
echo Setup BuildIn Copy | ||
COPY_DIR=$SOURCE_DIR/Tools/Copy | ||
COPY_OUT_DIR=$OUT_DIR/Copy | ||
COPY_BUILTIN_DIR=$BUILTIN_DIR/copy/1.0.0 | ||
mkdir -p $COPY_BUILTIN_DIR | ||
mkdir -p $COPY_BUILTIN_DIR/out/bin | ||
echo Recipe.sml | ||
cp $COPY_DIR/Recipe.sml $COPY_BUILTIN_DIR/Recipe.sml | ||
echo copy.exe | ||
cp $COPY_OUT_DIR/copy.exe $COPY_BUILTIN_DIR/out/bin/copy.exe | ||
|
||
echo Setup BuildIn MkDir | ||
MKDIR_DIR=$SOURCE_DIR/Tools/Mkdir | ||
MKDIR_OUT_DIR=$OUT_DIR/Mkdir | ||
MKDIR_BUILTIN_DIR=$BUILTIN_DIR/mkdir/1.0.0 | ||
mkdir -p $MKDIR_BUILTIN_DIR | ||
mkdir -p $MKDIR_BUILTIN_DIR/out/bin | ||
echo Recipe.sml | ||
cp $MKDIR_DIR/Recipe.sml $MKDIR_BUILTIN_DIR/Recipe.sml | ||
echo mkdir.exe | ||
cp $MKDIR_OUT_DIR/mkdir.exe $MKDIR_BUILTIN_DIR/out/bin/mkdir.exe | ||
|
||
echo Setup BuildIn Soup.Cpp | ||
SOUP_CPP_DIR=~/.soup/packages/Wren/Soup.Cpp/0.7.0 | ||
SOUP_CPP_BUILTIN_DIR=$BUILTIN_DIR/Soup.Cpp/0.7.0 | ||
mkdir -p $SOUP_CPP_BUILTIN_DIR | ||
echo Recipe.sml | ||
cp $SOUP_CPP_DIR/Recipe.sml $SOUP_CPP_BUILTIN_DIR/Recipe.sml |
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
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@echo off | ||
SETLOCAL | ||
SET ScriptsDir=%~dp0 | ||
SET RootDir=%ScriptsDir%..\.. | ||
SET OutDir=%RootDir%\out | ||
SET RunDir=%OutDir%\run | ||
|
||
SET SOUP_VERSION="0.33.0" | ||
SET COPY_VERSION="1.0.0" | ||
SET MKDIR_VERSION="1.0.0" | ||
SET SOUP_CPP_VERSION="0.8.0" | ||
SET SOUP_CSHARP_VERSION="0.9.0" | ||
SET SOUP_WREN_VERSION="0.2.0" | ||
|
||
REM - Use a copy of the final binary in case we are re-buiding itself | ||
robocopy %ScriptsDir%\Install\ %RunDir%\ /MIR /NJH /NJS /NDL > NUL | ||
robocopy %OutDir%\Cpp\Soup\%SOUP_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\bin\ %RunDir%\Soup\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\Dev\Repos\Soup\Source\Tools\Copy\ %RunDir%\Soup\BuiltIn\copy\%COPY_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\Dev\Repos\Soup\out\Cpp\copy\%COPY_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\ %RunDir%\Soup\BuiltIn\copy\%COPY_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\Dev\Repos\Soup\Source\Tools\Mkdir\ %RunDir%\Soup\BuiltIn\mkdir\%MKDIR_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\Dev\Repos\Soup\out\Cpp\mkdir\%MKDIR_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\ %RunDir%\Soup\BuiltIn\mkdir\%MKDIR_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.Cpp\%SOUP_CPP_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.Cpp\%SOUP_CPP_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.Cpp\%SOUP_CPP_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\ %RunDir%\Soup\BuiltIn\Soup.Cpp\%SOUP_CPP_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.CSharp\%SOUP_CSHARP_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.CSharp\%SOUP_CSHARP_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.CSharp\%SOUP_CSHARP_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\ %RunDir%\Soup\BuiltIn\Soup.CSharp\%SOUP_CSHARP_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.Wren\%SOUP_WREN_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.Wren\%SOUP_WREN_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.Wren\%SOUP_WREN_VERSION%\Oltq7cGwk0Rbgy1I-3mCMDDE5yM\ %RunDir%\Soup\BuiltIn\Soup.Wren\%SOUP_WREN_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy %OutDir%\msbuild\bin\Soup.Build.PackageManager\Release\net6.0-windows10.0.17763.0\win-x64\publish\ %RunDir%\Soup\PackageManager\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy %OutDir%\msbuild\bin\Swhere\Release\net6.0\win-x64\publish\ %RunDir%\ swhere.exe /NJH /NJS /NDL > NUL | ||
|
||
%RunDir%\Soup.cmd %* |
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,37 @@ | ||
@echo off | ||
SETLOCAL | ||
SET ScriptsDir=%~dp0 | ||
SET RootDir=%ScriptsDir%..\.. | ||
SET OutDir=%RootDir%\out | ||
SET RunDir=%OutDir%\run | ||
|
||
SET SOUP_VERSION="0.33.0" | ||
SET COPY_VERSION="1.0.0" | ||
SET MKDIR_VERSION="1.0.0" | ||
SET SOUP_CPP_VERSION="0.8.0" | ||
SET SOUP_CSHARP_VERSION="0.9.0" | ||
SET SOUP_WREN_VERSION="0.2.0" | ||
|
||
REM - Use a copy of the final binary in case we are re-buiding itself | ||
robocopy %ScriptsDir%\Install\ %RunDir%\ /MIR /NJH /NJS /NDL > NUL | ||
robocopy %OutDir%\Cpp\Soup\%SOUP_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\bin\ %RunDir%\Soup\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\Dev\Repos\Soup\Source\Tools\Copy\ %RunDir%\Soup\BuiltIn\copy\%COPY_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\Dev\Repos\Soup\out\Cpp\copy\%COPY_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\ %RunDir%\Soup\BuiltIn\copy\%COPY_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\Dev\Repos\Soup\Source\Tools\Mkdir\ %RunDir%\Soup\BuiltIn\mkdir\%MKDIR_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\Dev\Repos\Soup\out\Cpp\mkdir\%MKDIR_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\ %RunDir%\Soup\BuiltIn\mkdir\%MKDIR_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.Cpp\%SOUP_CPP_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.Cpp\%SOUP_CPP_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.Cpp\%SOUP_CPP_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\ %RunDir%\Soup\BuiltIn\Soup.Cpp\%SOUP_CPP_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.CSharp\%SOUP_CSHARP_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.CSharp\%SOUP_CSHARP_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.CSharp\%SOUP_CSHARP_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\ %RunDir%\Soup\BuiltIn\Soup.CSharp\%SOUP_CSHARP_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy C:\Users\mwasp\.soup\packages\Wren\Soup.Wren\%SOUP_WREN_VERSION%\ %RunDir%\Soup\BuiltIn\Soup.Wren\%SOUP_WREN_VERSION%\ Recipe.sml /NJH /NJS /NDL > NUL | ||
robocopy C:\Users\mwasp\.soup\out\Wren\Soup.Wren\%SOUP_WREN_VERSION%\OZlIVjblazFuKXg-raWUNoGEnG4\ %RunDir%\Soup\BuiltIn\Soup.Wren\%SOUP_WREN_VERSION%\out\ /MIR /NJH /NJS /NDL > NUL | ||
|
||
robocopy %OutDir%\msbuild\bin\Soup.Build.PackageManager\Debug\net6.0-windows10.0.17763.0\win-x64\publish\ %RunDir%\Soup\PackageManager\ /MIR /NJH /NJS /NDL > NUL | ||
robocopy %OutDir%\msbuild\bin\Swhere\Debug\net6.0\win-x64\publish\ %RunDir%\ swhere.exe /NJH /NJS /NDL > NUL | ||
|
||
%RunDir%\Soup.cmd %* |
Oops, something went wrong.