-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
35 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -411,4 +411,5 @@ ASALocalRun/ | |
|
||
NuGetScratch/ | ||
VBCSCompiler/ | ||
.dotnet/ | ||
.dotnet/ | ||
release/ |
Binary file removed
BIN
-186 KB
VBCSCompiler/AnalyzerAssemblyLoader/7bc7b217dd2441498aea1618f3920780/1/xunit.analyzers.dll
Binary file not shown.
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
1 change: 0 additions & 1 deletion
1
dotnet-installer/.dotnet/3.1.100_IsDockerContainer.dotnetUserLevelCache
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
dotnet-installer/.dotnet/3.1.100_MachineId.dotnetUserLevelCache
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...aller/.dotnet/TelemetryStorageService/20191224090059_bfdd99fe65144527818638ce048431bd.trn
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...aller/.dotnet/TelemetryStorageService/20191224090059_ea39affe05a249a6a3020d4ba1df833b.trn
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-6.57 KB
dotnet-installer/.dotnet/optimizationdata/3.1.100/ubuntu.16.04-x64/dotnet
Binary file not shown.
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,26 +1,12 @@ | ||
#!/bin/bash -i | ||
RED='\033[0;31m' | ||
NOCOLOR='\033[0m' | ||
if [ -z ${ZDRAGON_PATH} ]; then | ||
read -p "Please enter your ZDragon.NET source path (folder with the dotnet solution): `echo $'\n'`" -e | ||
if [ ! $(ls -a $REPLY | grep .sln) ] || [ ! $(ls -a $REPLY | grep CLI) ] ; then | ||
echo "This is not a valid dotnet solution, or it does not contain the ZDragon.NET solution. Exiting." | ||
exit 1; | ||
fi | ||
ZDRAGON_PATH=$REPLY | ||
read -p "Would you like to add this path to your bash profile to be re-used in the next start? (y/n) `echo $'\n'`" -n 1 -r -e | ||
if [[ $REPLY =~ ^[Yy]$ ]]; then | ||
echo -e "export ZDRAGON_PATH=$ZDRAGON_PATH\n" >> $HOME/.bash_profile | ||
echo -e "${RED}Please run 'source ~/.bash_profile'. This will prevent you from needing to re-do this the next run.${NOCOLOR}" | ||
fi | ||
fi | ||
# The following variables are defaults, but can be overwritten as cli arguments, such as by running zdragon_release /usr/local/tempBinForDev | ||
# This can be useful for one-time changes, but it is recommended to just edit the file if you want to do this often. | ||
|
||
# Default bin location for mac | ||
OUTPUT_DIR="${1:-/usr/local/bin/}" | ||
# Defaults to mac | ||
OS="${2:-osx-x64}" | ||
# assumes that the path ends with / | ||
CLI_PATH=${ZDRAGON_PATH}CLI | ||
SOURCE_DIR="${3:-$CLI_PATH}" | ||
# If your zdragon source location differs from this, edit this variable. | ||
SOURCE_DIR="${3:-$HOME/Projects/dotnet/ZDragon.NET/CLI}" | ||
APP_NAME="${4:-ckc}" | ||
dotnet publish "$SOURCE_DIR" -c Release --runtime "$OS" /p:PublishSingleFile=true -o "$OUTPUT_DIR" | ||
mv -v "$OUTPUT_DIR"CLI "$OUTPUT_DIR""$APP_NAME" |
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,26 @@ | ||
#!/bin/bash -i | ||
RED='\033[0;31m' | ||
NOCOLOR='\033[0m' | ||
if [ -z ${ZDRAGON_PATH} ]; then | ||
read -p "Please enter your ZDragon.NET source path (folder with the dotnet solution): `echo $'\n'`" -e | ||
if [ ! $(ls -a $REPLY | grep .sln) ] || [ ! $(ls -a $REPLY | grep CLI) ] ; then | ||
echo "This is not a valid dotnet solution, or it does not contain the ZDragon.NET solution. Exiting." | ||
exit 1; | ||
fi | ||
ZDRAGON_PATH=$REPLY | ||
read -p "Would you like to add this path to your bash profile to be re-used in the next start? (y/n) `echo $'\n'`" -n 1 -r -e | ||
if [[ $REPLY =~ ^[Yy]$ ]]; then | ||
echo -e "export ZDRAGON_PATH=$ZDRAGON_PATH\n" >> $HOME/.bash_profile | ||
echo -e "${RED}Please run 'source ~/.bash_profile'. This will prevent you from needing to re-do this the next run.${NOCOLOR}" | ||
fi | ||
fi | ||
|
||
OUTPUT_DIR="${1:-/usr/local/bin/}" | ||
# Defaults to mac | ||
OS="${2:-osx-x64}" | ||
# assumes that the path ends with / | ||
CLI_PATH=${ZDRAGON_PATH}CLI | ||
SOURCE_DIR="${3:-$CLI_PATH}" | ||
APP_NAME="${4:-ckc}" | ||
dotnet publish "$SOURCE_DIR" -c Release --runtime "$OS" /p:PublishSingleFile=true -o "$OUTPUT_DIR" | ||
mv -v "$OUTPUT_DIR"CLI "$OUTPUT_DIR""$APP_NAME" |