Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify module name and package versions when create app from model file #117

Open
yxuco opened this issue Dec 10, 2020 · 0 comments
Open

Comments

@yxuco
Copy link

yxuco commented Dec 10, 2020

When creating app from a model file, I want to provide a go.mod file that specifies the app's module name and versions of some required packages, and so the generated source code will use the provided file as the base go.mod. For example, flogo create command can accept the following input file, and so the generated source code will use the specified module name and forked package repo version for flogo core and flow.

module github.com/myorg/myproj/myapp
go 1.14
replace github.com/project-flogo/core => github.com/myfork/core v1.2.1
replace github.com/project-flogo/flow => github.com/myfork/flow v1.1.1
yxuco added a commit to yxuco/cli that referenced this issue Dec 11, 2020
- Fix build to handle go mod replace correctly & do not delete shim source code after build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant