diff --git a/.gitignore b/.gitignore index 740321b79..dedb7eb01 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ TestCloud/ project.lock.json tools/ +!tools/packages.config .nugetapikey .mygetapikey *.xam diff --git a/build.cake b/build.cake index 79a18c5a9..ab8263b86 100644 --- a/build.cake +++ b/build.cake @@ -80,5 +80,8 @@ Task ("clean") CleanDirectories ("./**/obj"); }); +Task("Default") + .IsDependentOn("libs"); + RunTarget (TARGET); diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 5c4cbe429..9ad638e4b --- a/build.sh +++ b/build.sh @@ -71,6 +71,7 @@ if [ ! -f "$PACKAGES_CONFIG_MD5" ] || [ "$( cat "$PACKAGES_CONFIG_MD5" | sed 's/ find . -type d ! -name . | xargs rm -rf fi +echo "Restoring tools from NuGet..." mono "$NUGET_EXE" install -ExcludeVersion if [ $? -ne 0 ]; then echo "Could not restore NuGet tools." @@ -85,6 +86,7 @@ popd >/dev/null if [ -f "$ADDINS_PACKAGES_CONFIG" ]; then pushd "$ADDINS_DIR" >/dev/null + echo "Restoring addins from NuGet..." mono "$NUGET_EXE" install -ExcludeVersion if [ $? -ne 0 ]; then echo "Could not restore NuGet addins." @@ -98,6 +100,7 @@ fi if [ -f "$MODULES_PACKAGES_CONFIG" ]; then pushd "$MODULES_DIR" >/dev/null + echo "Restoring modules from NuGet..." mono "$NUGET_EXE" install -ExcludeVersion if [ $? -ne 0 ]; then echo "Could not restore NuGet modules." @@ -113,5 +116,6 @@ if [ ! -f "$CAKE_EXE" ]; then exit 1 fi +echo "Running Cake..." # Start Cake exec mono "$CAKE_EXE" $SCRIPT "${CAKE_ARGUMENTS[@]}" \ No newline at end of file diff --git a/tools/packages.config b/tools/packages.config new file mode 100644 index 000000000..ee1a5621d --- /dev/null +++ b/tools/packages.config @@ -0,0 +1,4 @@ + + + +