Giter Club home page Giter Club logo

Comments (10)

natemcmaster avatar natemcmaster commented on June 27, 2024

Punting GenerateFileFromTemplate for now. Unifying our templating syntaxes will likely be more contentious than DownloadFile and others.

from arcade.

maririos avatar maririos commented on June 27, 2024

@natemcmaster from the things that are under the ASP list, are those packages or scripts something we are going to move to Arcade because other repos will consume it?

@weshaggard I see that ILLinker is used in corefx, coreclr and source-build. Is the idea here to move the reference for the package to Arcade (probably SDK?) so that the repos that use it have the same version and configuration?

from arcade.

natemcmaster avatar natemcmaster commented on June 27, 2024

Since opening this, the following aspnet tasks have become first-class MSBuild tasks:

  • ZipArchive (named Zip in MSBuild)
  • UnzipArchive (named Unzip)
  • DownloadFile
  • ComputeChecksum (named GetFileHash)

The only remaining task which may be useful to share is GenerateFileFromTemplate. This is not currently available as a package, but is bundled in KoreBuild. I'd be happy to have this become part of MSBuild or an Arcade task library.

from arcade.

weshaggard avatar weshaggard commented on June 27, 2024

ILLinker is currently in an independent repo and at least for the time being should remain there. I expect that to be an option package that corefx/coreclr pull in and not be part of the SDK.

To get an idea of some of the buildtools -> arcade tasks you can check out our project board at https://github.com/dotnet/corefx/projects/3.

from arcade.

maririos avatar maririos commented on June 27, 2024

Thanks @natemcmaster . Could you elaborate more on the need and who will use GenerateFileFromTemplate?

from arcade.

maririos avatar maririos commented on June 27, 2024

To get an idea of some of the buildtools -> arcade tasks you can check out our project board at https://github.com/dotnet/corefx/projects/3.

Thanks for pointing me there @weshaggard . That helps to solve other questions.

from arcade.

natemcmaster avatar natemcmaster commented on June 27, 2024

We use GenerateFileFromTemplate for simple named-variable substitution during the build. We use it in a dozen or so places when we need to generate static content during build time. Example usage:

<GenerateFileFromTemplate TemplateFile="MyFile.cs.in" OutputPath="obj/MyFile.cs" Properties="Var=$(SomeValue)" />
// MyFile.cs.in

public class Class1
{
   public string GetVar() => "${Var}";
}

from arcade.

alexperovich avatar alexperovich commented on June 27, 2024

That is #204.

from arcade.

maririos avatar maririos commented on June 27, 2024

Created issue #348 for porting Repack to Arcade

from arcade.

markwilkie avatar markwilkie commented on June 27, 2024

Looks like the items that should be tracked are being tracked. Closing

from arcade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.