Mirror of Svelto.ECS because we're a fan of it
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

22 lignes
809B

  1. pkg_name := "Svelto.ECS"
  2. nuget_pack:
  3. make nuget_clean
  4. mkdir temp temp/bin temp/bin/debug temp/bin/release
  5. # Build for Debug
  6. dotnet pack /p:PackageVersion=1.0.0 -o temp/bin/debug com.sebaslab.svelto.ecs/Svelto.ECS.csproj -c Debug
  7. unzip "temp/bin/debug/${pkg_name}.1.0.0.nupkg" -d temp/bin/debug
  8. cp temp/bin/debug/lib/netstandard2.0/Svelto.ECS.dll temp/bin/debug
  9. # Build for Release
  10. dotnet pack /p:PackageVersion=1.0.0 -o temp/bin/release com.sebaslab.svelto.ecs/Svelto.ECS.csproj -c Release
  11. unzip "temp/bin/release/${pkg_name}.1.0.0.nupkg" -d temp/bin/release
  12. cp temp/bin/release/lib/netstandard2.0/Svelto.ECS.dll temp/bin/release
  13. # Compile into nuget
  14. dotnet pack /p:PackageVersion=2.0.0 -o . com.sebaslab.svelto.ecs/Svelto.ECS.csproj -c NugetPack
  15. # make nuget_clean
  16. nuget_clean:
  17. rm -rf temp