зеркало из https://github.com/microsoft/tiny-calc.git
Build/Publish: Add top-level build/test scripts
This commit is contained in:
Родитель
871002b954
Коммит
741d4c738c
|
@ -11,6 +11,13 @@
|
|||
* "rush my-global-command --help".
|
||||
*/
|
||||
"commands": [
|
||||
{
|
||||
"commandKind": "bulk",
|
||||
"name": "test",
|
||||
"summary": "Execute test script for all packages",
|
||||
"safeForSimultaneousRushProcesses": false,
|
||||
"enableParallelism": true,
|
||||
},
|
||||
// {
|
||||
// /**
|
||||
// * (Required) Determines the type of custom command.
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"lockfileVersion": 1
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"scripts": {
|
||||
"rush": "node common/scripts/install-run-rush.js",
|
||||
"postinstall": "npm run rush -- install",
|
||||
"build": "npm run rush -- build",
|
||||
"test": "npm run rush -- test",
|
||||
"prepublish": "npm run build && npm run test"
|
||||
}
|
||||
}
|
|
@ -8,4 +8,6 @@ const listFormula = new ListFormula(context, "IF(Time.Now = Time.Now, Math.Max(T
|
|||
console.log(`value = ${JSON.stringify(v[0])}; uniform = ${invariant}`);
|
||||
});
|
||||
|
||||
setInterval(() => listFormula.notify(), 100);
|
||||
for (let i = 0; i < 10; i++) {
|
||||
listFormula.notify();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче