Comments (5)
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.
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.
@pedromorgan Check this:
go get github.com/anonx/revdev
Use the following commands in your shell:
revdev on
to switch to develop branchrevdev 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.
I like @AnonX's solution. Anything beyond that could get complex as @notzippy said.
from cmd.
Once again with a monthly release cycle as a goal I am closing this issue as unnecessary.
from cmd.
Related Issues (20)
- Could not find import issue HOT 1
- Can't create a new app on Windows HOT 3
- Support go modules (go.mod) instead of dep HOT 4
- Create docker image or dockerfile
- revel package HOT 1
- Failed to find Revel version HOT 8
- Mode flag failing HOT 2
- Arg types in generated routes.go and run.go HOT 4
- test suite issue
- Inconsistent behavoir between revel run and revel test
- Failed to parse port as integer: %!s(int=-1) HOT 2
- support go modules, panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- If the test command fails to assert, set the Exit Status to non-zero.
- build command generates unnecessary files HOT 1
- Harness Compilation error page has status 200 OK
- command not found HOT 3
- Dependency not found - github.com/myesui/uuid HOT 3
- revel run nil pointer dereference HOT 2
- Installation command doesn't work HOT 1
- Validation Key Index Line Number Mismatch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmd.