gdpm/bin/gdpm-test.sh
David J. Allen 1893c7c36b Initial commit
First commit with most of the main features implemented. May still need
some bug fixes here and there.
2021-12-30 12:56:37 -06:00

30 lines
No EOL
1.3 KiB
Bash
Executable file

command=build/gdpm
# Install packages using install command and specifying each package name or file
${command} install "ResolutionManagerPlugin" "godot-hmac"
${command} install -f packages.txt --clean --godot-version 3.4
# Remove packages using remove command and specifying each package name or file
${command} remove "ResolutionManagerPlugin" "godot-hmac" -y
${command} remove -f packages.txt -y
# Manually synchronize the local database with remote servers
${command} sync
# Search for packages containing "Godot" in package name
${command} search "Godot" --config config.json
${command} search "Godot" --config config.json --no-sync
# List all currently installed packages
${command} list
# Create a symlink of packages to specified path
${command} link "ResolutionManagerPlugin" "godot-hmac" --path tests/tests-godot-project
${command} link -f packages.txt --path tests/test-godot-project
# Similarly, make a copy of packages to a project
${command} clone "ResolutionManagerPlugin" "godot-hmac" --path tests/tests/godot-project
${command} clone -f packages.txt --path tests/tests-godot-project/addons
# Clean temporary downloaded files if they're taking up too much space. If no package names are provided, all temporary files will be removed.
${command} clean "ResolutionManagerPlugin"
${command} clean