-
Notifications
You must be signed in to change notification settings - Fork 39
/
main.go
25 lines (20 loc) · 1.01 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main // import "gnorm.org/gnorm"
import (
"os"
"gnorm.org/gnorm/cli"
)
// This space used for gocog commands run across the website.
// If we use gocog on .go files, put the go generate command in that file.
//go:generate go get github.com/natefinch/gocog
//go:generate gocog ./site/content/gnorm.md
//go:generate gocog ./site/content/cli/_index.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/commands/preview.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/commands/version.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/commands/init.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/commands/gen.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/commands/docs.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/templates/functions.md --startmark={{{ --endmark=}}}
//go:generate gocog ./site/content/cli/configuration.md --startmark={{{ --endmark=}}}
func main() {
os.Exit(cli.Run())
}