-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cli commands and rename roku-deploy functions, reorganize functio…
…ns (#142) * Make change to assume dest folder. Delete 2 old tests that looked for old behavior, add 2 more tests that look for new behavior * Sort files * Update src/RokuDeploy.ts Co-authored-by: Bronley Plumb <[email protected]> * Removed redundant entry.dest is null situation * Added a few commands, not all are working correctly * Move commands to their own file * More command files * Change commands to help with tests * Add testing suite for all cli (2 tests are not working) * Updated cli file after adding in commands and tests * Fixed a few test cases * Change name and input of table helper * Totally broken code, but have the right names * Changed name of toTable * Make test for objectToTable * add yargs to pacjage.json * add package-lock.json * add new line at eof * Add test for coverage, also remove an unncessary '?' * tweaks * tweaks * get from json stuff * Correct imports * Last of the fsExtra changes * Create a load from json util, clean up cli.ts file with fleshing out comments, delete unnecessary command/tests/options, partially fix exec command * Adding cli tests * Delete deployAndSignPackage tests, a deleted function in rokudeploy * Add defaultsFromJson tests * Move some tests to utils test file, re add other functions that might have been accidentally deleted, fix some errors with fsExtra * Change signExistingPackage to CreateSignedPackage * Delete retrieveSignedPackage * Move getFilePaths * Random changes I forgot to put in the other pushes * Change to different notation since getOutputZipFilePath and getOutputPkgPath were made private * Change notation for normalizeDeviceInfoFieldValue since it was made privete * Change notation for parsedManifestFromString and ParseManifest since being made private * Change deleteInstalledChannel to deleteDevChannel, other small changes * Add stagingDir, fix zip/deleteDevChannel/captureScreenshot function calls, delete Deploy function * Fix commands * change defaults from json function, fix some tests * fix index, fix makezip, getfilepaths, sideload * Add options from json ability to each command to each command * remove bsconfig, fix cli file with key press commands, fix key press functions and add options * fix getoptionsfromjson * delete unnecessary commands, fix some tests * change to captureScreenshot * Fix a bunch of tests * Fix up the last few tests and cli commands * Changing coverage check to false * Fix failing tests on windows * Delete comment * Change publish to sideload everywhere else * Move deploy tests to test exec command * Throw new error for wrong device id, and add test to test for it * Delete creating variable options since it was unused * Add function description * Inline exec command options * Remove retainsStagingDir, zipCallBackInfo, incrementBuildNumber, and add back tests for createPackage * Delete convertToSquashfs, move deployAndSignPackage tests to cli, move retrieveSignedPackage tests to under createSignedPackage * Change prepublishToStaging to stage * Change the way close channel works * Update src/RokuDeploy.ts Co-authored-by: Bronley Plumb <[email protected]> * Add outFile to Zip, delete zipPackage --------- Co-authored-by: Milap Naik <[email protected]>
- Loading branch information
1 parent
4dfe850
commit e59ac91
Showing
37 changed files
with
1,476 additions
and
1,859 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.