This commit brings a greater experience for developers working on ZQDGR, and also fixes a number of bugs. The following bugs have been fixed: - Scripts that died in watch mode did not restart once changes were made - Created and deleted files did not cause a reload - script.Stop is now used in every place where we kill the process, this ensures that the process is *eventually* actually killed
26 lines
815 B
JSON
26 lines
815 B
JSON
{
|
|
"name": "zqdgr",
|
|
"version": "0.0.5",
|
|
"description": "zqdgr is a quick and dirty Golang runner",
|
|
"author": "juls0730",
|
|
"license": "BSL-1.0",
|
|
"homepage": "https://github.com/juls0730/zqdgr",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/juls0730/zqdgr.git"
|
|
},
|
|
"scripts": {
|
|
"build": "go build -o zqdgr",
|
|
"dev": "sleep 5; echo 'test' && sleep 2 && echo 'test2'",
|
|
"test": "zqdgr test:1 && zqdgr test:2 && zqdgr test:3 && zqdgr test:4",
|
|
"test:1": "echo 'a'",
|
|
"test:2": "true",
|
|
"test:3": "echo 'b'",
|
|
"test:4": "zqdgr test:3",
|
|
"test:5": "zqdgr test:6",
|
|
"test:6": "zqdgr test:7",
|
|
"test:7": "zqdgr test:5",
|
|
"recursive": "zqdgr recursive"
|
|
},
|
|
"pattern": "**/*.go"
|
|
} |