github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/cmd/vpm/README.md (about)

     1  # VPM (Voedger Package Manager)
     2  
     3  The Voedger Package Manager (VPM) functions similarly to Go/NPM but is specifically designed for Voedger. Key commands include:
     4  
     5  - `vpm compile`
     6  - `vpm build`
     7  - `vpm mod init`
     8  
     9  ## Principles
    10  
    11  - **Go Installation Requirement**: To use VPM, Go must be installed.
    12      - **Rationale**: This approach simplifies the development process.
    13  - **Integration with `go.mod`**: VPM commands like `compile` and `build` utilize `go.mod`.
    14  - **Project Initialization**: The `vpm mod init` command generates a `main.go` file that incorporates the latest Voedger repository.
    15  - **Underlying Use of Go Modules**: `go mod init` is leveraged in the background for effective module management.
    16  
    17  ## Commands
    18  
    19  - [`compile`](./README-compile.md): For detailed instructions and information on the compile command.
    20  
    21  ## Technical Design
    22  
    23  - Integrated tests are the first (`execRootCmd()` function is used)
    24