SNRK-100: Typo in "requirements"

This commit is contained in:
Kirill Grachev 2023-05-22 22:52:32 +03:00
parent 0bc0f63131
commit 7cccb96023
3 changed files with 11 additions and 5 deletions

View File

@ -14,7 +14,7 @@ RUN ./snark-main/ci/install_java.sh "$JAVA_VERSION"
COPY . .
RUN ./requirments.sh
RUN ./requirements.sh
RUN bash -c "source ~/.sdkman/bin/sdkman-init.sh && ./gradlew clean build"

View File

@ -15,8 +15,9 @@ do
then
cd ci
if [[ -f requirements.sh ]]; then
./requirments.sh
if [[ -f "requirements.sh" ]]; then
echo "executing sub"
bash -c "./requirements.sh"
fi
cd ..

View File

@ -1,6 +1,11 @@
#!/bin/bash
set -e
sudo apt-get install -y python3
sudo apt-get install -y nodejs
sudo apt-get install -y npm
cd ../src/main/nodejs
sudo npm install .
pushd ../src/main/nodejs
npm install .
popd