### Check Crave Client Version (Shell) Source: https://foss.crave.io/docs/index This command displays the installed version of the Crave command-line tool. It's a simple verification step to ensure the CLI is installed and accessible in your PATH. ```shell crave version ``` -------------------------------- ### Clone and Build Project with Crave CLI Source: https://foss.crave.io/docs/index Demonstrates the workflow of cloning a project repository, making code modifications, and initiating a build using `crave run`. This process verifies the build system setup and reports the build status. ```bash $ git clone https://github.com/postgres/postgres.git Cloning into 'postgres'... ... (omitted for brevity) $ cd postgres $ git remote -v origin https://github.com/postgres/postgres.git (fetch) origin https://github.com/postgres/postgres.git (push) $ vi src/common/md5.c ... edit ... $ crave run -- make -j 16 Picking up local changes (if any)... 1 file changed, 3 insertions(+) Waiting for build to start... Setting up workspace (this could take some time)... using branch "master" setting commitID to 45223fd9cefe483daa4af7740f15c004486636eb Checking patch src/common/md5.c... Applied patch src/common/md5.c cleanly. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking which template to use... linux checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB ... (omitted for brevity) make[2]: Leaving directory '/tmp/src/postgres/build_dir/src/test/perl' make[1]: Leaving directory '/tmp/src/postgres/build_dir/src' All of PostgreSQL successfully made. Ready to install. make: Leaving directory '/tmp/src/postgres/build_dir' ------------------------------------------------------------------------ Build Successful Total time: 14.808990631s ------------------------------------------------------------------------ ``` -------------------------------- ### List Permitted Projects with Crave CLI Source: https://foss.crave.io/docs/index Lists all projects that the user has permission to build and test using the `crave list` command. This command verifies the Crave binary and authentication setup. ```bash $ crave list Configured Projects: Id Name Source Url ---- ---------------------- ------------------------------------------------------------------ 23 Ceph git@github.com:ceph/ceph.git 20 Foundation DB git@github.com:apple/foundationdb.git 7 Linux: amd64 defconfig https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 11 MXE https://github.com/mxe/mxe 21 NVidia CUDA Samples https://github.com/NVIDIA/cuda-samples.git 17 Qt git://code.qt.io/qt/qt5.git 18 Rustlang git@github.com:rust-lang/rust.git 16 postgreSQL https://github.com/postgres/postgres.git ``` -------------------------------- ### Make Crave Binary Executable (Shell) Source: https://foss.crave.io/docs/index This command changes the file permissions of the downloaded Crave binary to make it executable. Ensure you replace '/path/to/crave' with the actual path to the downloaded file. This is a common step for running downloaded executables on Unix-like systems. ```shell #!/bin/bash chmod +x /path/to/crave ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.