wooga / atlas-paket

Paket plugin for gradle
https://wooga.github.io/atlas-paket/
Apache License 2.0
0 stars 2 forks source link

Add publishLocal tasks #11

Closed marcolink closed 6 years ago

marcolink commented 7 years ago

Description

Add a set of tasks to publish nupkg package to a local destination. This helps when developing new features and you want to test them in other projects (PuzzleCore use case).

How to set it up:


publishing {
    repositories {
        nuget {
            name "snapshot"
            url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-snapshot"
        }

        nuget {
            name "rc"
            url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-rc"
        }

        nuget {
            name "final"
            url "https://wooga.jfrog.io/wooga/api/nuget/atlas-nuget-release"
        }

        nuget {
            name "localExportOne"
            path "../myOtherProject"
        }

        nuget {
            name "localExportTwo"
            path "../myLocalNugetStorage"
        }
    }
}

You have to set a path instead of url

This generates a new set of tasks:

publishLocal - publish all nupkg to all local paths
publishLocallocalExportOne - Publishes all nupkg artifacts to ../myOtherProject
publishLocallocalExportTwo - Publishes all nupkg artifacts to ../myLocalNugetStorage
publishLocallocalExportOne-Wooga.MyPackageId  - Copies Wooga.MyPackageId.0.1.0-dev.3.uncommitted+5ae8199.nupkg to../myOtherProject
publishLocallocalExportTwo-Wooga.MyPackageId  - Copies Wooga.MyPackageId.0.1.0-dev.3.uncommitted+5ae8199.nupkg to../myLocalNugetStorage
coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling dbcd7398841362374172426d74232e383dce4284 on feature/copy_local_task into on master.

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling 2caf6e92fb36fe4f676e7cdda79eb1feeeb4ad64 on feature/copy_local_task into on master.

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling 97bf4329cfcfcffb4ecc9c518b56bb8fceec1b2b on feature/copy_local_task into on master.

Larusso commented 6 years ago

I meant createPublishLocalTask

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling a7e4a1fb10c07237e0cd65de7ea39a9f90aa3e63 on feature/copy_local_task into on master.