From 6e3f942dccb88df7e6659e0ff2d76b9127676f5d Mon Sep 17 00:00:00 2001 From: Andrew Mak Date: Wed, 18 Sep 2019 21:10:12 -0400 Subject: [PATCH] quick fix Signed-off-by: Andrew Mak --- utils/project.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/project.go b/utils/project.go index 35a0308e..9bfa84b0 100644 --- a/utils/project.go +++ b/utils/project.go @@ -49,10 +49,16 @@ func DetermineProjectInfo(projectPath string) (string, string, bool) { language = "swift" buildType = "swift" } + if PathExists(path.Join(projectPath, "Pipfile")) { + language = "python" + buildType = "docker" + } if PathExists(path.Join(projectPath, "stack.yaml")) { + buildType = "appsodyExtension" isAppsody = true } if PathExists(path.Join(projectPath, ".appsody-config.yaml")) { + buildType = "appsodyExtension" isAppsody = true } return language, buildType, isAppsody