Browse Source

Fixed 'updated' field. Added 'future' option for site building and serving.

dev
Franco Masotti 4 years ago
parent
commit
4fadce0e2c
  1. 4
      .gitlab-ci.yml
  2. 6
      Makefile
  3. 2
      _posts/2018-11-18-my-bash-option-parsing-template.md

4
.gitlab-ci.yml

@ -6,7 +6,7 @@ test:
stage: test
script:
- gem install jekyll
- jekyll build -d test
- jekyll build -d test --future
artifacts:
paths:
- test
@ -17,7 +17,7 @@ pages:
stage: deploy
script:
- gem install jekyll jekyll-sitemap
- jekyll build -d public
- jekyll build -d public --future
artifacts:
paths:
- public

6
Makefile

@ -7,13 +7,13 @@ PORT = 3050
all: build serve
build:
@jekyll build -V --safe -t
@jekyll build -V --safe -t --future
serve:
@jekyll serve
@jekyll serve --future
serve-global:
@jekyll serve --host=0.0.0.0 --port=$(PORT)
@jekyll serve --host=0.0.0.0 --port=$(PORT) --future
clean:
@rm -rf _site

2
_posts/2018-11-18-my-bash-option-parsing-template.md

@ -1,7 +1,7 @@
---
title: My bash template for option parsing
tags: [getopts, bash, template, bashisms, shell]
updated: 2018-11-18 17:00
updated: 2018-11-23 17:00
description: a template for option parsing in Bash based on getopt
---

Loading…
Cancel
Save