Code Monkey home page Code Monkey logo

Comments (8)

jaredpar avatar jaredpar commented on August 23, 2024

πŸ‘

from sdk.

analogrelay avatar analogrelay commented on August 23, 2024

At some point we're also going to need to look at how compilation options are specified. Compilers may have their own options they want to provide, etc. Perhaps in that case an intermediary is used (i.e. dotnet-compile-[lang]) which parses the project.json itself.

from sdk.

agocke avatar agocke commented on August 23, 2024

Jared and I briefly discussed this before he left.

I think we want two sets of arguments here: 1) some "compilationOptions" which are portable and 2) some "extra options" that are passed directly to the compiler.

The idea is that we want to keep familiarity by keeping the common options the same, but also provide a mechanism to provide compiler-specific and langauge-specific options.

from sdk.

agocke avatar agocke commented on August 23, 2024

The common options would be parsed by dotnet-compile, then passed on as command line arguments to the dotnet-compile-[lang], along with the extra options which are just copied verbatim.

from sdk.

davidfowl avatar davidfowl commented on August 23, 2024

Sounds like a plan!

from sdk.

davidfowl avatar davidfowl commented on August 23, 2024

Wood also be great if we didnc# sooner than later

from sdk.

davidfowl avatar davidfowl commented on August 23, 2024

@agocke @jaredpar We need to figure out how to handle source files resolution. Today we have 3 hard coded globbing patterns that look at source files:

https://github.com/dotnet/cli/blob/master/src/Microsoft.DotNet.ProjectModel/Files/ProjectFilesCollection.cs#L14-L17

Ideally this would be handled by the compiler or maybe it requires more metadata somewhere. This library will also be used for the IDE experience so it needs to flow properly and can't only be in the command line invocation (I'd rather not have the IDE do what it does today for csc πŸ˜„)

from sdk.

blackdwarf avatar blackdwarf commented on August 23, 2024

This is probably done. Opportunistic close. Reopen if needed. Fixed by dotnet/cli#102.

from sdk.

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.