mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 14:30:57 +00:00
14 lines
229 B
Bash
Executable file
14 lines
229 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "No pull request ID was specified."
|
|
exit 1
|
|
fi
|
|
|
|
git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head
|
|
git checkout FETCH_HEAD
|
|
npm install
|
|
npm test || true
|
|
npm start
|