Skip to content

Commit 9bb8bc1

Browse files
authored
modd support (#8)
1 parent e6cab24 commit 9bb8bc1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This is a GitHub repository template for Go. It has been created for ease-of-use
1313
It includes:
1414

1515
- [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,
16+
- [modd](https://github.com/cortesi/modd) configuration,
1617
- dependency management using [Go Modules](https://github.com/golang/go/wiki/Modules),
1718
- linting with [GolangCI-Lint](https://github.com/golangci/golangci-lint),
1819
- 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).
@@ -53,6 +54,7 @@ It includes:
5354
- Terminal: `make all`.
5455
- Visual Studio Code: `Terminal``Run Build Task... (CTRL+ALT+B)` → Select `All`.
5556
- Terminal: `docker-compose up --abort-on-container-exit`. This command is executed by CI build (GitHub Action workflow).
57+
- [modd](https://github.com/cortesi/modd) would execute build on any *.go file change.
5658

5759
### Maintainance
5860

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

7477
## FAQ
7578

modd.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/*.go {
2+
prep: make all
3+
}

0 commit comments

Comments
 (0)