Sha256: f078894d89fb5af1c5feb2480062340887906191674259778d5c5e941c9557e1

Contents?: true

Size: 564 Bytes

Versions: 24

Compression:

Stored size: 564 Bytes

Contents

#!/bin/bash

#/ NAME
#/     build-site -- build nanoc site
#/
#/ SYNOPSIS
#/     build site

# figure out the project root under which bin, lib live
shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"

# load a jason bourne library
source "$shome/libexec/_jason"

# define command line options:
DEFINE_boolean 'clean' "$FLAGS_FALSE" 'delete output directory first'

# entry point
function main {
  if [[ "$FLAGS_clean" = "$FLAGS_TRUE" ]]; then
    rm -rf "$shome/output"
  fi

  bundle exec ghp compile
}

require sub "$BASH_SOURCE" "$@"

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
alox-0.0.7 libexec/build-site
alox-0.0.6 libexec/build-site
alox-0.0.5 libexec/build-site
alox-0.0.4 libexec/build-site
alox-0.0.3 libexec/build-site
alox-0.0.1 libexec/build-site
tvd-tvdinner-0.0.27 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.26 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.25 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.24 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.23 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.22 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.21 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.20 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.19 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.18 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.17 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.16 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.15 cookbooks/tvdinner/files/default/jasonx/build-site
tvd-tvdinner-0.0.14 cookbooks/tvdinner/files/default/jasonx/build-site