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 . . COPY . .
RUN ./requirments.sh RUN ./requirements.sh
RUN bash -c "source ~/.sdkman/bin/sdkman-init.sh && ./gradlew clean build" RUN bash -c "source ~/.sdkman/bin/sdkman-init.sh && ./gradlew clean build"

View File

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

View File

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