Fix mkdir

This commit is contained in:
Andrew Schwartzmeyer
2015-10-13 13:35:06 -07:00
parent 9b0ef11e2f
commit e95b3dc801
+5 -5
View File
@@ -130,10 +130,10 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co
nuget.exe:
wget 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe'
buildtemp:
mkdir -p buildtemp
buildtemp dotnetlibs:
mkdir -p $@
prepare: nuget.exe buildtemp
prepare: nuget.exe buildtemp dotnetlibs
mono nuget.exe restore -PackagesDirectory buildtemp
# this is the execution environment from which all managed code is run
@@ -152,7 +152,6 @@ APP_BASE=exec_env/app_base
internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS)
rm -rf exec_env
mkdir -p $(APP_BASE)/Modules
mkdir -p exec_env/coreclr
cp ../src/monad/monad/miscfiles/display/*.ps1xml $(APP_BASE)
cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml $(APP_BASE)
cp -r ../src/monad/monad/miscfiles/modules/* $(APP_BASE)/Modules
@@ -164,6 +163,7 @@ internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS)
cp runps*.sh $(APP_BASE)
internal-prepare-clr:
mkdir -p exec_env/coreclr
cp -r $(CORECLR_ASSEMBLY_BASE)/* exec_env/coreclr/
run: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-clr
@@ -183,7 +183,7 @@ run-file: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-clr
TEMP=/tmp $(APP_BASE)/runps.sh --file ../../$@
# compiles "Hello World" like executables using .NET Core
%.exe: %.cs
%.exe: %.cs internal-prepare-clr
$(CSC) -out:$@ $(CSCOPTS_BASE) -target:exe $(COREREF) $^
@echo run with monad-tty ./scripts/exec_env/coreclr/corerun ./scripts/$@