Git Product home page Git Product logo

Comments (2)

itowlson avatar itowlson commented on June 12, 2024

Looks like there was some discussion internally on this that didn't make it onto the issue. Some stuff that came up:

  • What do we do about different output locations for dev and release builds?
  • Is this effectively going to turn into some npm run <script> kind of thing? How do we feel about that?
  • How much complexity are we okay with investing into spin build? Accreting a feature here and a feature there is going to be more effort for less delight than going "welp looks like we're building a build system, let's do some design."

For me, part of the challenge is that spin build and spin up/spin deploy are decoupled. If I do a dev build followed by spin up, presumably I want to run the dev build... but that means we need to either dev and release build to the same place, or we need to remember the last build command, neither of which feel lovely. Conversely we don't want spin deploy or spin registry push to roll out a dev build just because that's the last one the user happened to build.

from spin.

benwis avatar benwis commented on June 12, 2024

Definitely some concerns there, I think it would have to remember the last build. I guess it's up to you whether you want people to be able to push the dev profile, although if I choose a different release profile that checking might get interesting. Perhaps a setting for the desired release-profile as well as different commands?

You could build a full on npm run kinda thing, but at least for this purpose I'm happy to delegate it to Cargo with a few Spin additions.

This is very much a Rust specific thing though, I imagine there's a more general way to do it, perhaps I could build a plugin that does this

from spin.

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.