Skip to content

Commit

Permalink
Local pipeline completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Aug 6, 2023
1 parent 5d6a37c commit 79edb4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ copy-binaries:
cp postgres.zip whiskers-red-cat-db
setup-binaries: download-binaries copy-binaries
install-libs:
sudo apt install libreadline-dev
sudo apt-get install libpq-dev
sudo apt install bison
sudo apt install flex
sudo apt install build-essential libz-dev zlib1g-dev
sudo apt install libreadline-dev libpq-dev bison flex build-essential libz-dev zlib1g-dev -y
install-kotlin-native-linux: setup-binaries install-libs install-kotlin-native-linux-ktor install-kotlin-native-linux-rc install-kotlin-native-linux-rcdb
install-kotlin-native-linux-ktor:
cd whiskers-ktor/c && make install-kotlin-native-linux
Expand All @@ -102,8 +98,8 @@ install-kotlin-native-linux-rc:
install-kotlin-native-linux-rcdb:
cd whiskers-red-cat-db && make install-kotlin-native-linux
install-python:
sudo apt-get install python3-distutils
sudo apt-get install python3-apt
sudo apt-get install python3-distutils -y
sudo apt-get install python3-apt -y
run-paragraph-sender:
cd whiskers-paragraph-sender && python3 paragraph_sender.py
dcup-ktor: stop
Expand Down Expand Up @@ -275,8 +271,8 @@ upgrade:
done
gradle wrapper --gradle-version $(GRADLE_VERSION)
upgrade-gradle:
sudo apt upgrade
sudo apt update
sudo apt upgrade -y
sudo apt update -y
export SDKMAN_DIR="$(HOME)/.sdkman"; \
[[ -s "$(HOME)/.sdkman/bin/sdkman-init.sh" ]]; \
source "$(HOME)/.sdkman/bin/sdkman-init.sh"; \
Expand All @@ -292,8 +288,7 @@ upgrade-gradle:
fi; \
make upgrade
install-linux:
sudo apt-get install jq
sudo apt-get install curl
sudo apt-get install jq curl -y
curl https://services.gradle.org/versions/current
local-pipeline-ktor-no-db: build-gradle-ktor-no-db
local-pipeline-ktor: build-gradle-ktor
Expand Down
2 changes: 1 addition & 1 deletion whiskers-ktor/postgresql/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install-kotlin-native-linux:
if [ -d "kotlin.native" ]; then rm -r kotlin.native; fi
if [ -d "postgres-master" ]; then rm -r postgres-master; fi
mv kotlin-native-linux-x86_64-1.7.20 kotlin.native
sudo apt install libreadline-dev
sudo apt install libreadline-dev -y
unzip -o postgres.zip
postgres-build:
cd postgres-master && ./configure
Expand Down
2 changes: 1 addition & 1 deletion whiskers-red-cat-db/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install-kotlin-native-linux:
if [ -d "kotlin.native" ]; then rm -r kotlin.native; fi
if [ -d "postgres-master" ]; then rm -r postgres-master; fi
mv kotlin-native-linux-x86_64-1.7.20 kotlin.native
sudo apt install libreadline-dev
sudo apt install libreadline-dev -y
unzip -o postgres.zip
postgres-build:
cd postgres-master && ./configure
Expand Down

0 comments on commit 79edb4b

Please sign in to comment.