mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* base implementation of client script with envs values * better ENVs setup for pw tests * fix tests
13 lines
274 B
Bash
Executable File
13 lines
274 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if the .env file exists
|
|
if [ -f .env ]; then
|
|
# Load the environment variables from .env
|
|
source .env
|
|
fi
|
|
|
|
# Check run-time ENVs values integrity
|
|
node "$(dirname "$0")/envs-validator.js" "$input"
|
|
if [ $? != 0 ]; then
|
|
exit 1
|
|
fi |