Skip to content
#

build-automation

Here are 565 public repositories matching this topic...

earthly
Alxandr
Alxandr commented Nov 26, 2021

I have an earthfile with targets like this:

amd64:
  COPY (+artifacts/* --TARGETPLATFORM=linux/amd64 --TARGETARCH=amd64 --TARGETVARIANT= --MUSL=) /out/

  SAVE ARTIFACT /out/*

arm64:
  COPY (+artifacts/* --TARGETPLATFORM=linux/arm64 --TARGETARCH=arm64 --TARGETVARIANT= --MUSL=) /out/

  SAVE ARTIFACT /out/*

all:
  COPY +amd64/* /out/
  COPY +arm64/* /out/

  SAVE ARTIFACT /o
augustoproiete
augustoproiete commented Nov 21, 2020

Currently when calling the MSBuild alias with an MSBuildSettings, we need to set the target using the WithTarget extension method.

MSBuild("./my-app.sln", new MSBuildSettings
{
    Configuration = "Release",
    ToolVersion = MSBuildToolVersion.VS2019,
}.WithTarget("Build")); // <<<###

It would be nice if we could use a property, with a string, which would make it more na

Improve this page

Add a description, image, and links to the build-automation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the build-automation topic, visit your repo's landing page and select "manage topics."

Learn more