Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8564266
commit 9d493ce
Showing
20 changed files
with
79 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
main-packr.go | ||
packrd | ||
/sprout | ||
commit0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
/hello-world-idl | ||
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
package docker | ||
|
||
import ( | ||
"github.com/commitdev/sprout/util" | ||
"github.com/commitdev/commit0/util" | ||
|
||
"github.com/commitdev/sprout/config" | ||
"github.com/commitdev/sprout/templator" | ||
"github.com/commitdev/commit0/config" | ||
"github.com/commitdev/commit0/templator" | ||
) | ||
|
||
func GenerateGoAppDockerFile(templator *templator.Templator, config *config.SproutConfig) { | ||
func GenerateGoAppDockerFile(templator *templator.Templator, config *config.Commit0Config) { | ||
util.TemplateFileIfDoesNotExist("docker/app", "Dockerfile", templator.Docker.ApplicationDocker, config) | ||
util.TemplateFileIfDoesNotExist("./", ".dockerignore", templator.Docker.DockerIgnore, config) | ||
|
||
} | ||
|
||
func GenerateGoHttpGWDockerFile(templator *templator.Templator, config *config.SproutConfig) { | ||
func GenerateGoHttpGWDockerFile(templator *templator.Templator, config *config.Commit0Config) { | ||
util.TemplateFileIfDoesNotExist("docker/http", "Dockerfile", templator.Docker.HttpGatewayDocker, config) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package http | ||
|
||
import ( | ||
"github.com/commitdev/sprout/util" | ||
"github.com/commitdev/commit0/util" | ||
|
||
"github.com/commitdev/sprout/config" | ||
"github.com/commitdev/sprout/templator" | ||
"github.com/commitdev/commit0/config" | ||
"github.com/commitdev/commit0/templator" | ||
) | ||
|
||
func GenerateHttpGW(templator *templator.Templator, config *config.SproutConfig) { | ||
func GenerateHttpGW(templator *templator.Templator, config *config.Commit0Config) { | ||
util.TemplateFileIfDoesNotExist("http", "main.go", templator.Go.GoHttpGW, config) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.