Coder Social home page Coder Social logo

add `revel develop` command about cmd HOT 5 CLOSED

revel avatar revel commented on May 29, 2024
add `revel develop` command

from cmd.

Comments (5)

pedromorgan avatar pedromorgan commented on May 29, 2024

Scneraio

Am seriosuly hacking away at
https://github.com/daffodil/factory-planner

And I wannt to switch between the current version and next mixed version

Impossible..

So maaybe the next version is the one where we can make this possible..

from cmd.

notzippy avatar notzippy commented on May 29, 2024

You can easily switch between versions by adjusting your gopath ev,

Open two shells
Specify different gopaths and fetch revel in each
In one of the paths modify the checked out branch to develop for all revel repositories (git checkout -b develop), recompile (go build github.com/revel/cmd)
Now append your project path to each of the gopaths in the shells - or if your lazy symlink it.
Now you can test your app in both environments by running it in the appropriate shell window.

I would say nay to adding this to revel though, there is simply to many variables to control

from cmd.

 avatar commented on May 29, 2024

@pedromorgan Check this:

go get github.com/anonx/revdev

Use the following commands in your shell:

  • revdev on to switch to develop branch
  • revdev off to switch back to master

Everything will be checked out automatically and revel cmd will be recompiled.

(It doesn't clone anything, so make sure you have modules, samples, revel, and cmd & all of them have master/develop branches)

from cmd.

brendensoares avatar brendensoares commented on May 29, 2024

I like @AnonX's solution. Anything beyond that could get complex as @notzippy said.

from cmd.

notzippy avatar notzippy commented on May 29, 2024

Once again with a monthly release cycle as a goal I am closing this issue as unnecessary.

from cmd.

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.