Building and Testing the Sources

Preconditions

  • npm 7 and above

  • JFrog CLI's jf executable - required for tests

To build the extension from sources, please follow these steps:

  1. Clone the code from Github.

  2. Update submodules:

git submodule init
git submodule update
  1. Build and create the VS-Code extension vsix file by running the following npm command:

    npm i
    npm run package

After the build finishes, you'll find the vsix file in the jfrog-vscode-extension directory. The vsix file can be loaded into VS-Code

Test Instructions:

  • Set the environment variables JFROG_IDE_PLATFORM_URL and JFROG_IDE_ACCESS_TOKEN to establish a connection with a valid JFrog instance.

  • create a remote repository named releases-proxy designed to function as a proxy jfrog releases.

To run the test, execute the following command:

npm t

Last updated

© 2024 JFrog Ltd All Rights Reserved