test: cross platform
test: add osx and windows to test platforms in travis
This commit is contained in:
parent
701f85baef
commit
db142fdff4
4 changed files with 65 additions and 11 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
import { ChildProcess, spawn } from "child_process";
|
||||
import { promises as fs } from "fs";
|
||||
import * as os from "os";
|
||||
import * as path from "path";
|
||||
|
||||
/**
|
||||
|
|
@ -165,3 +166,5 @@ export const runCommand = (
|
|||
process,
|
||||
};
|
||||
};
|
||||
|
||||
export const npmCmd = os.platform() === "win32" ? "npm.cmd" : "npm";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue