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