Update release script

This commit is contained in:
Corentin Le Molgat
2018-09-10 12:48:14 +02:00
parent e50cf8a121
commit d840081ca6
5 changed files with 35 additions and 35 deletions

View File

@@ -1,22 +1,22 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e
# Check all prerequisite
# cc
which clang | xargs echo "clang: " | tee build.log
which cmake | xargs echo "cmake: " | tee -a build.log
which make | xargs echo "make: " | tee -a build.log
which swig | xargs echo "swig: " | tee -a build.log
command -v clang | xargs echo "clang: " | tee build.log
command -v cmake | xargs echo "cmake: " | tee -a build.log
command -v make | xargs echo "make: " | tee -a build.log
command -v swig | xargs echo "swig: " | tee -a build.log
# python
which python2.7 | xargs echo "python2.7: " | tee -a build.log
which python3.7 | xargs echo "python3.7: " | tee -a build.log
command -v python2.7 | xargs echo "python2.7: " | tee -a build.log
command -v python3.7 | xargs echo "python3.7: " | tee -a build.log
# java
which java | xargs echo "java: " | tee -a build.log
which javac | xargs echo "javac: " | tee -a build.log
which jar | xargs echo "jar: " | tee -a build.log
command -v java | xargs echo "java: " | tee -a build.log
command -v javac | xargs echo "javac: " | tee -a build.log
command -v jar | xargs echo "jar: " | tee -a build.log
# C#
which dotnet | xargs echo "dotnet: " | tee -a build.log
command -v dotnet | xargs echo "dotnet: " | tee -a build.log
# Build Third Party
make clean_third_party

View File

@@ -1,22 +1,22 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e
# Check all prerequisite
# cc
which gcc | xargs echo "gcc: " | tee build.log
which cmake | xargs echo "cmake: " | tee -a build.log
which make | xargs echo "make: " | tee -a build.log
which swig | xargs echo "swig: " | tee -a build.log
command -v gcc | xargs echo "gcc: " | tee build.log
command -v cmake | xargs echo "cmake: " | tee -a build.log
command -v make | xargs echo "make: " | tee -a build.log
command -v swig | xargs echo "swig: " | tee -a build.log
# python
which python2 | xargs echo "python2: " | tee -a build.log
which python3 | xargs echo "python3: " | tee -a build.log
command -v python2 | xargs echo "python2: " | tee -a build.log
command -v python3 | xargs echo "python3: " | tee -a build.log
# java
which java | xargs echo "java: " | tee -a build.log
which javac | xargs echo "javac: " | tee -a build.log
which jar | xargs echo "jar: " | tee -a build.log
command -v java | xargs echo "java: " | tee -a build.log
command -v javac | xargs echo "javac: " | tee -a build.log
command -v jar | xargs echo "jar: " | tee -a build.log
# dotnet
which dotnet | xargs echo "dotnet: " | tee -a build.log
command -v dotnet | xargs echo "dotnet: " | tee -a build.log
# Build Third Party
make clean_third_party

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e

View File

@@ -1,15 +1,15 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e
# Check all prerequisite
# cc
which cmake | xargs echo "cmake: " | tee build.log
which make | xargs echo "make: " | tee -a build.log
which swig | xargs echo "swig: " | tee -a build.log
command -v cmake | xargs echo "cmake: " | tee build.log
command -v make | xargs echo "make: " | tee -a build.log
command -v swig | xargs echo "swig: " | tee -a build.log
# python
which python2.7 | xargs echo "python2.7: " | tee -a build.log
which python3.7 | xargs echo "python3.7: " | tee -a build.log
command -v python2.7 | xargs echo "python2.7: " | tee -a build.log
command -v python3.7 | xargs echo "python3.7: " | tee -a build.log
echo Creating Python 2.7 venv...
TEMP_DIR=temp_python2.7

View File

@@ -1,15 +1,15 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e
# Check all prerequisite
# cc
which cmake | xargs echo "cmake: " | tee build.log
which make | xargs echo "make: " | tee -a build.log
which swig | xargs echo "swig: " | tee -a build.log
command -v cmake | xargs echo "cmake: " | tee build.log
command -v make | xargs echo "make: " | tee -a build.log
command -v swig | xargs echo "swig: " | tee -a build.log
# python
which python2 | xargs echo "python2: " | tee -a build.log
which python3 | xargs echo "python3: " | tee -a build.log
command -v python2 | xargs echo "python2: " | tee -a build.log
command -v python3 | xargs echo "python3: " | tee -a build.log
echo Creating Python 2 venv...
TEMP_DIR=temp_python2