mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 11:43:08 +03:00
Standardised shell scripts shebang
This commit is contained in:
parent
93ad62d40c
commit
65b588f770
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
uname -a
|
uname -a
|
||||||
python3 -V
|
python3 -V
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
echo "----- install prerequisite packages -----"
|
echo "----- install prerequisite packages -----"
|
||||||
apk update --quiet
|
apk update --quiet
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
echo "----- install prerequisite packages -----"
|
echo "----- install prerequisite packages -----"
|
||||||
pacman -Syy --noconfirm
|
pacman -Syy --noconfirm
|
||||||
pacman -Sy --noconfirm curl icu base-devel libxml2 python3 glibc
|
pacman -Sy --noconfirm bash curl icu base-devel libxml2 python3 glibc
|
||||||
|
|
||||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
python3 get-pip.py
|
python3 get-pip.py
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
pacman -Syy --noconfirm
|
pacman -Syy --noconfirm
|
||||||
pacman -Sy --noconfirm python3 python-pip
|
pacman -Sy --noconfirm bash python3 python-pip
|
||||||
python3 -m pip install --upgrade pip --quiet
|
python3 -m pip install --upgrade pip --quiet
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
yum install -y python3-devel python3-pip
|
yum install -y bash python3-devel python3-pip
|
||||||
python3 -m pip install --upgrade pip --quiet
|
python3 -m pip install --upgrade pip --quiet
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
apt update
|
apt update
|
||||||
apt -y install curl sudo libcurl4-openssl-dev libxml2-utils libxml2-dev libssl-dev python3 python3-pip
|
apt -y install bash curl sudo libcurl4-openssl-dev libxml2-utils libxml2-dev libssl-dev python3 python3-pip
|
||||||
python3 -m pip install --upgrade pip --quiet
|
python3 -m pip install --upgrade pip --quiet
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
echo "----- install prerequisite packages -----"
|
echo "----- install prerequisite packages -----"
|
||||||
yum install -y procps gcc libxml2-devel openssl-devel libcurl-devel python3-devel python3-pip
|
yum install -y bash procps gcc libxml2-devel openssl-devel libcurl-devel python3-devel python3-pip
|
||||||
python3 -m pip install --upgrade pip --quiet
|
python3 -m pip install --upgrade pip --quiet
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
sudo apt update
|
sudo apt update
|
||||||
# Install libcurl dev so that hurl can be built dynamically with libcurl
|
# Install libcurl dev so that hurl can be built dynamically with libcurl
|
||||||
sudo apt install libcurl4-openssl-dev libxml2-utils
|
sudo apt install bash libcurl4-openssl-dev libxml2-utils
|
||||||
python3 -m pip install --upgrade pip --quiet
|
python3 -m pip install --upgrade pip --quiet
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
|
||||||
sh rustup.sh -y
|
sh rustup.sh -y
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
sudo rm -rf target/debian
|
sudo rm -rf target/debian
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Get hurl source version
|
# Get hurl source version
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "----- install deb package -----"
|
echo "----- install deb package -----"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "----- install generic linux package -----"
|
echo "----- install generic linux package -----"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "----- install generic macos package -----"
|
echo "----- install generic macos package -----"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf target/man
|
rm -rf target/man
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PATH="$HOME"/.cargo/bin:$PATH
|
PATH="$HOME"/.cargo/bin:$PATH
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
echo "----- Bench suite -----"
|
echo "----- Bench suite -----"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
"$(dirname "$0")"/test_prerequisites.sh
|
"$(dirname "$0")"/test_prerequisites.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "----- integration tests -----"
|
echo "----- integration tests -----"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
echo "----- install servers prerequisites -----"
|
echo "----- install servers prerequisites -----"
|
||||||
pip3 install --requirement bin/requirements-frozen.txt
|
pip3 install --requirement bin/requirements-frozen.txt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
echo "----- unit tests -----"
|
echo "----- unit tests -----"
|
||||||
PATH="$HOME"/.cargo/bin:$PATH
|
PATH="$HOME"/.cargo/bin:$PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user