Improvements to template and configs
parent
26f4fbefaa
commit
79b5a6e662
|
|
@ -35,6 +35,19 @@
|
|||
"url": ""
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"activity": {
|
||||
"category": "BUILD",
|
||||
"id": "make",
|
||||
"name": "Make command",
|
||||
"url": ""
|
||||
},
|
||||
"config": "",
|
||||
"guide": "",
|
||||
"id": "make:build",
|
||||
"platform": "windows",
|
||||
"script": "--file Makefile build"
|
||||
},
|
||||
{
|
||||
"activity": {
|
||||
"category": "BUILD",
|
||||
|
|
@ -161,6 +174,19 @@
|
|||
"version": "0.0.1"
|
||||
},
|
||||
"test": [
|
||||
{
|
||||
"activity": {
|
||||
"category": "TEST",
|
||||
"id": "make",
|
||||
"name": "Make command",
|
||||
"url": ""
|
||||
},
|
||||
"config": "",
|
||||
"guide": "",
|
||||
"id": "make:test",
|
||||
"platform": "windows",
|
||||
"script": "--file Makefile test"
|
||||
},
|
||||
{
|
||||
"activity": {
|
||||
"category": "TEST",
|
||||
|
|
|
|||
|
|
@ -38,74 +38,86 @@ scan:
|
|||
regex: []
|
||||
activities:
|
||||
engines:
|
||||
- osEnvironment: windows
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: "make"
|
||||
name: Make command
|
||||
command: "make.exe"
|
||||
option: ""
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: '*default'
|
||||
name: Default Windows engine
|
||||
command: pwsh.exe
|
||||
option: -Command
|
||||
- osEnvironment: windows
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: pwsh-command
|
||||
name: ""
|
||||
command: pwsh.exe
|
||||
option: -Command
|
||||
- osEnvironment: windows
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: pwsh-script
|
||||
name: ""
|
||||
command: pwsh.exe
|
||||
option: -File
|
||||
- osEnvironment: windows
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: cmd-command
|
||||
name: ""
|
||||
command: cmd.exe
|
||||
option: ""
|
||||
- osEnvironment: windows
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: windows
|
||||
id: no-command
|
||||
name: ""
|
||||
command: '*null'
|
||||
option: ""
|
||||
- osEnvironment: linux
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: linux
|
||||
id: '*default'
|
||||
name: Default Linux engine
|
||||
command: /bin/sh
|
||||
option: -c
|
||||
- osEnvironment: linux
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: linux
|
||||
id: pwsh-command
|
||||
name: ""
|
||||
command: pwsh
|
||||
option: -Command
|
||||
- osEnvironment: linux
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: linux
|
||||
id: pwsh-script
|
||||
name: ""
|
||||
command: pwsh
|
||||
option: -File
|
||||
- osEnvironment: darwin
|
||||
category: BUILD
|
||||
- category: BUILD
|
||||
osEnvironment: darwin
|
||||
id: '*default'
|
||||
name: ""
|
||||
command: /bin/sh
|
||||
option: -c
|
||||
- osEnvironment: windows
|
||||
category: TEST
|
||||
- category: TEST
|
||||
osEnvironment: windows
|
||||
id: "make"
|
||||
name: Make command
|
||||
command: "make.exe"
|
||||
option: ""
|
||||
- category: TEST
|
||||
osEnvironment: windows
|
||||
id: '*default'
|
||||
name: Default Windows engine
|
||||
command: pwsh.exe
|
||||
option: -Command
|
||||
- osEnvironment: windows
|
||||
category: TEST
|
||||
- category: TEST
|
||||
osEnvironment: windows
|
||||
id: pwsh-command
|
||||
name: ""
|
||||
command: pwsh.exe
|
||||
option: -Command
|
||||
- osEnvironment: windows
|
||||
category: TEST
|
||||
- category: TEST
|
||||
osEnvironment: windows
|
||||
id: pwsh-script
|
||||
name: ""
|
||||
command: pwsh.exe
|
||||
|
|
|
|||
|
|
@ -0,0 +1,57 @@
|
|||
# Project
|
||||
|
||||
One Paragraph of project description goes here
|
||||
|
||||
## Getting Started
|
||||
|
||||
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
|
||||
|
||||
## MakeFile
|
||||
|
||||
Build the application
|
||||
|
||||
```bash
|
||||
qaskx-cli run -t make:build
|
||||
```
|
||||
|
||||
Run the application
|
||||
|
||||
```bash
|
||||
make run
|
||||
```
|
||||
|
||||
Create DB container
|
||||
|
||||
```bash
|
||||
make docker-run
|
||||
```
|
||||
|
||||
Shutdown DB Container
|
||||
|
||||
```bash
|
||||
make docker-down
|
||||
```
|
||||
|
||||
DB Integrations Test:
|
||||
|
||||
```bash
|
||||
make itest
|
||||
```
|
||||
|
||||
Live reload the application:
|
||||
|
||||
```bash
|
||||
make watch
|
||||
```
|
||||
|
||||
Run the test suite:
|
||||
|
||||
```bash
|
||||
qaskx-cli run -t make:test
|
||||
```
|
||||
|
||||
Clean up binary from the last build:
|
||||
|
||||
```bash
|
||||
make clean
|
||||
```
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
"id": "goblueprint",
|
||||
"script": "go-blueprint",
|
||||
"pre":[
|
||||
"create --name distribute_message --framework echo --driver sqlite --advanced --feature docker --git commit"
|
||||
"create --name distribute_message --framework echo --driver sqlite --advanced --feature docker --git skip"
|
||||
],
|
||||
"post": []
|
||||
}
|
||||
|
|
@ -38,6 +38,14 @@
|
|||
"post": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"engine": "",
|
||||
"section": "",
|
||||
"folder": "{{.TemplateDefinition.SelfFolder}}/definitions/golang",
|
||||
"file_name": "*",
|
||||
"output_folder": "^/",
|
||||
"output_name": "*"
|
||||
},
|
||||
{
|
||||
"engine": "",
|
||||
"section": "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue