test
This commit is contained in:
parent
75959ebe2f
commit
27a4948b96
3 changed files with 10 additions and 4 deletions
1
framework/tooling/astgen/go.mod
Normal file
1
framework/tooling/astgen/go.mod
Normal file
|
|
@ -0,0 +1 @@
|
|||
module github.com/maddalax/mhtml/framework/tooling/astgen
|
||||
1
framework/tooling/copyassets/go.mod
Normal file
1
framework/tooling/copyassets/go.mod
Normal file
|
|
@ -0,0 +1 @@
|
|||
module github.com/maddalax/mhtml/framework/tooling/copyassets
|
||||
|
|
@ -8,7 +8,8 @@ tasks:
|
|||
dir: '{{.USER_WORKING_DIR}}'
|
||||
desc: Generate template from source code
|
||||
cmds:
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/downloadtemplate
|
||||
- go install github.com/maddalax/mhtml/framework/tooling/downloadtemplate@latest
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/downloadtemplate@latest
|
||||
|
||||
setup:
|
||||
deps: [copy-framework-assets, ast]
|
||||
|
|
@ -41,7 +42,8 @@ tasks:
|
|||
dir: '{{.USER_WORKING_DIR}}'
|
||||
desc: Copy framework assets
|
||||
cmds:
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/copyassets
|
||||
- go install github.com/maddalax/mhtml/framework/tooling/copyassets@latest
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/copyassets@latest
|
||||
|
||||
ast:
|
||||
dir: '{{.USER_WORKING_DIR}}'
|
||||
|
|
@ -49,7 +51,8 @@ tasks:
|
|||
generates:
|
||||
- '**/generated.go'
|
||||
cmds:
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/astgen
|
||||
- go install github.com/maddalax/mhtml/framework/tooling/astgen@latest
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/astgen@latest
|
||||
|
||||
ast-watch:
|
||||
dir: '{{.USER_WORKING_DIR}}'
|
||||
|
|
@ -60,4 +63,5 @@ tasks:
|
|||
sources:
|
||||
- '**/*.go'
|
||||
cmds:
|
||||
- go run github.com/maddalax/mhtml/framework/tooling/astgen
|
||||
- task: ast
|
||||
dir: '{{.USER_WORKING_DIR}}'
|
||||
Loading…
Reference in a new issue