File tree 5 files changed +17
-13
lines changed
5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change
1
+ - devops: install.sh needs to rewritten to install ruby using RVM or
2
+ rbenv.
3
+
1
4
- feature: encode email to svg graph.
2
5
3
6
- optimize: handle newline in Chinese text converted to a space when
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ _DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6
6
ROOT_DIR=" ${_DIR} /.."
7
7
8
8
# # Load library functions
9
- . ${_DIR} /lib.sh
9
+ # . ${_DIR}/lib.sh
10
10
11
11
# # Changed the current directory to the project root directory
12
12
pushd " ${ROOT_DIR} " > /dev/null
13
13
14
14
# # Add bundle binary executable to PATH (onetime)
15
- add_gems_user_dir_to_path
15
+ # add_gems_user_dir_to_path
16
16
17
17
# # Build the site
18
18
bundle exec jekyll build
19
- bundle exec htmlproofer --enforce-https=false -- ignore-urls ' /www.linkedin.com/' " ${ROOT_DIR} " /_site
19
+ bundle exec htmlproofer --ignore-urls ' /www.flaticon.com/, /www.linkedin.com/' " ${ROOT_DIR} " /_site
20
20
21
21
# # Go back to the original directory
22
22
popd > /dev/null
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ _DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6
6
ROOT_DIR=" ${_DIR} /.."
7
7
8
8
# # Load library functions
9
- . ${_DIR} /lib.sh
9
+ # . ${_DIR}/lib.sh
10
10
11
11
# # Changed the current directory to the project root directory
12
12
pushd " ${ROOT_DIR} " > /dev/null
13
13
14
14
# # Add bundle binary executable to PATH (onetime)
15
- add_gems_user_dir_to_path
15
+ # add_gems_user_dir_to_path
16
16
17
17
# # Clean
18
18
bundle exec jekyll clean
Original file line number Diff line number Diff line change @@ -6,24 +6,25 @@ _DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6
6
ROOT_DIR=" ${_DIR} /.."
7
7
8
8
# # Load library functions
9
- . ${_DIR} /lib.sh
9
+ # . ${_DIR}/lib.sh
10
10
11
11
# # Changed the current directory to the project root directory
12
12
pushd " ${ROOT_DIR} " > /dev/null
13
13
14
+ # TODO: install ruby!
14
15
# # Install dependent packages on Ubuntu if they don't exist
15
- declare -a PKGS=(" ruby-full" " build-essential" " zlib1g-dev" )
16
- for pkg in " ${PKGS[@]} " ; do
17
- dpkg -s " ${pkg} " > /dev/null || sudo apt install " ${pkg} "
18
- done
16
+ # declare -a PKGS=("ruby-full" "build-essential" "zlib1g-dev")
17
+ # for pkg in "${PKGS[@]}"; do
18
+ # dpkg -s "${pkg}" > /dev/null || sudo apt install "${pkg}"
19
+ # done
19
20
20
21
# # Uncomment the following line if you are behind the GFW
21
22
# gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
22
23
# # Install bundler
23
24
gem install bundler
24
25
25
26
# # Add bundle binary executable to PATH (onetime)
26
- add_gems_user_dir_to_path
27
+ # add_gems_user_dir_to_path
27
28
28
29
# # Uncomment the following line if you are behind the GFW
29
30
# bundle config mirror.https://rubygems.org https://gems.ruby-china.com
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ _DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6
6
ROOT_DIR=" ${_DIR} /.."
7
7
8
8
# # Load library functions
9
- . ${_DIR} /lib.sh
9
+ # . ${_DIR}/lib.sh
10
10
11
11
# # Changed the current directory to the project root directory
12
12
pushd " ${ROOT_DIR} " > /dev/null
13
13
14
14
# # Add bundle binary executable to PATH (onetime)
15
- add_gems_user_dir_to_path
15
+ # add_gems_user_dir_to_path
16
16
17
17
# # Start a local server
18
18
bundle exec jekyll serve
You can’t perform that action at this time.
0 commit comments