Skip to content

Commit

Permalink
modd support (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored May 6, 2020
1 parent e6cab24 commit 9bb8bc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This is a GitHub repository template for Go. It has been created for ease-of-use
It includes:

- [Visual Studio Code](https://code.visualstudio.com) configuration with [Go](https://code.visualstudio.com/docs/languages/go) and [Remote Container](https://code.visualstudio.com/docs/remote/containers) support,
- [modd](https://github.com/cortesi/modd) configuration,
- dependency management using [Go Modules](https://github.com/golang/go/wiki/Modules),
- linting with [GolangCI-Lint](https://github.com/golangci/golangci-lint),
- build automation via [Make](https://www.gnu.org/software/make), [Docker](https://docs.docker.com/engine), [Docker Compose](https://docs.docker.com/compose), [GitHub Actions](https://github.com/features/actions).
Expand Down Expand Up @@ -53,6 +54,7 @@ It includes:
- Terminal: `make all`.
- Visual Studio Code: `Terminal``Run Build Task... (CTRL+ALT+B)` → Select `All`.
- Terminal: `docker-compose up --abort-on-container-exit`. This command is executed by CI build (GitHub Action workflow).
- [modd](https://github.com/cortesi/modd) would execute build on any *.go file change.

### Maintainance

Expand All @@ -70,6 +72,7 @@ Notable files:
- [docker-compose.yml](docker-compose.yml) - Compose file used in [CI build](.github/workflows/build.yml)
- [Dockerfile](Dockerfile) - Builder image used in [docker-compose.yml](docker-compose.yml) and [devcontainer.json](.devcontainer/devcontainer.json)
- [Makefile](Makefile) - Make targets used in [docker-compose.yml](docker-compose.yml) and [.vscode/tasks.json](.vscode/tasks.json)
- [modd.conf](modd.conf) - [modd](https://github.com/cortesi/modd) configuration file

## FAQ

Expand Down
3 changes: 3 additions & 0 deletions modd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/*.go {
prep: make all
}

0 comments on commit 9bb8bc1

Please sign in to comment.