Restructure the project for consistency with xamarin-android
`Xamarin.Android.sln` is now a toplevel file, so it's easier to see
without navigating into the `src` directory.
Add a `Makefile` with three targets of consequence:
* `make prepare`: Prepare the project for building, e.g.
restore NuGet packages.
* `make all`: Build the project.
* `make run-all-tests`: Run the NUnit tests.
Update to use NUnit 3.2.1 packages.
Update `README.md` with build instructions.
Add a `LICENSE` file.
Rename `Xamarin.Android.Tools.dll` to
`Xamarin.Android.Tools.AndroidSdk.dll`. Xamarin.Android already has
multiple `Xamarin.Android.Tools.*.dll` assemblies, e.g.
`Xamarin.Android.Tools.BootstrapTasks.dll`. Naming-wise,
`Xamarin.Android.Tools.dll` sounds like it should be *core* to *all*
related assemblies, but it isn't, and won't be. Instead, its core
responsibility is around the Android SDK, so name it accordingly.
Move unit tests for `Xamarin.Android.Tools.AndroidSdk` into
`src/Xamarin.Android.Tools.AndroidSdk/Tests` (child, not a peer).
Rename the unit test assembly to
`Xamarin.Android.Tools.AndroidSdk-Tests.dll`, and build into
`bin/Test$(Configuration)`.
2017-09-07 04:50:25 +03:00
|
|
|
CONFIGURATION := Debug
|
|
|
|
OS := $(shell uname)
|
|
|
|
V ?= 0
|
|
|
|
|
|
|
|
include build-tools/scripts/msbuild.mk
|
|
|
|
|
|
|
|
all:
|
2024-06-13 21:19:49 +03:00
|
|
|
$(MSBUILD) $(MSBUILD_FLAGS) Xamarin.Android.Tools.sln
|
Restructure the project for consistency with xamarin-android
`Xamarin.Android.sln` is now a toplevel file, so it's easier to see
without navigating into the `src` directory.
Add a `Makefile` with three targets of consequence:
* `make prepare`: Prepare the project for building, e.g.
restore NuGet packages.
* `make all`: Build the project.
* `make run-all-tests`: Run the NUnit tests.
Update to use NUnit 3.2.1 packages.
Update `README.md` with build instructions.
Add a `LICENSE` file.
Rename `Xamarin.Android.Tools.dll` to
`Xamarin.Android.Tools.AndroidSdk.dll`. Xamarin.Android already has
multiple `Xamarin.Android.Tools.*.dll` assemblies, e.g.
`Xamarin.Android.Tools.BootstrapTasks.dll`. Naming-wise,
`Xamarin.Android.Tools.dll` sounds like it should be *core* to *all*
related assemblies, but it isn't, and won't be. Instead, its core
responsibility is around the Android SDK, so name it accordingly.
Move unit tests for `Xamarin.Android.Tools.AndroidSdk` into
`src/Xamarin.Android.Tools.AndroidSdk/Tests` (child, not a peer).
Rename the unit test assembly to
`Xamarin.Android.Tools.AndroidSdk-Tests.dll`, and build into
`bin/Test$(Configuration)`.
2017-09-07 04:50:25 +03:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-$(MSBUILD) $(MSBUILD_FLAGS) /t:Clean Xamarin.Android.Tools.sln
|
|
|
|
|
2021-01-05 03:46:35 +03:00
|
|
|
run-all-tests:
|
|
|
|
dotnet test -l "console;verbosity=detailed" -l trx \
|
|
|
|
tests/Xamarin.Android.Tools.AndroidSdk-Tests/Xamarin.Android.Tools.AndroidSdk-Tests.csproj
|
2021-02-02 19:19:29 +03:00
|
|
|
dotnet test -l "console;verbosity=detailed" -l trx \
|
|
|
|
tests/Microsoft.Android.Build.BaseTasks-Tests/Microsoft.Android.Build.BaseTasks-Tests.csproj
|