mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-13 01:25:45 +00:00
* cicd: make it easier to grab snapshot builds * cicd: Better support for running tests against VMs * Update multipleDropdowns.js
9 lines
259 B
Bash
Executable File
9 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
# Run this like `. envVagrant.sh f38` before `mocha`
|
|
|
|
# args:
|
|
# $1: The Vagrant VM to test against. If blank and only one VM is provisioned, it will use that.
|
|
|
|
export IP=$(vagrant ssh-config $1 | grep HostName | awk '{print $2}')
|
|
export PORT=1337
|