Commit 2de444c7 authored by Vincent Wei's avatar Vincent Wei

use config.sh for global settings

parent 29f4aab7
Pipeline #8 canceled with stages
#!/bin/bash
runmode=ths
nr_jobs=8
source config.sh
runmode=$RUNMODE
nr_jobs=$NR_JOBS
cd minigui
./autogen.sh; ./configure --enable-develmode --with-runmode=$runmode
......
#!/bin/bash
nr_jobs=8
source config.sh
nr_jobs=$NR_JOBS
echo "BUILDING gvfb"
cd gvfb
......
#!/bin/bash
runmode=ths
nr_jobs=8
source config.sh
runmode=$RUNMODE
nr_jobs=$NR_JOBS
echo UNINSTALL, MAKE, AND INSTALL MiniGUI FIRST...
cd minigui
......
# This file will be included in every scripts.
# Please change the following global variables for customization.
# The URL prefix of remote repository.
# Recommend to use github.com.
REPO_URL=git@github.com:VincentWei/
#REPO_URL=git4os@gitlab.fmsoft.cn:VincentWei/
# The runtime mode of MiniGUI; can be ths, procs, or sa.
RUNMODE=ths
# The jobs number when building source.
NR_JOBS=8
#!/bin/bash
source config.sh
# GVFB
git clone git@github.com:VincentWei/gvfb.git
git clone $REPO_URL/gvfb.git
# The third-party libraries
for comp in harfbuzz chipmunk; do
cd 3rd-party; git clone git@github.com:VincentWei/$comp.git; cd ..
cd 3rd-party; git clone $REPO_URL/$comp.git; cd ..
done
# MiniGUI, MiniGUI components and samples, demos
for comp in minigui-res minigui mg-tests mg-tools mgutils mgplus mgeff mgncs mgncs4touch mg-samples mg-demos cell-phone-ux-demo; do
git clone git@github.com:VincentWei/$comp.git
git clone $REPO_URL/$comp.git
done
#!/bin/bash
source config.sh
# GVFB
echo Updating gvfb
cd gvfb; git pull; cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment