Sha256: c06f854f9c239a61a746ef6b220e3d9ab26fe35ced5527da581d1fa457aee33e

Contents?: true

Size: 940 Bytes

Versions: 18

Compression:

Stored size: 940 Bytes

Contents

#!/bin/sh

source remove_temp_directories.sh

echo "Create a Blank project but containing the yaml config file"
cd ~/hyla
hyla new -b -d MyBlankProject --force
cd MyBlankProject

echo "Change destination parameter"
ruby -i.bak -pe 'sub(%r{destination: generated_content},"destination: .")' _config.yaml
ruby -i.bak -pe 'sub(%r{# header_image_path: },"header_image_path: image/rhheader_thin.png ")' _config.yaml
ruby -i.bak -pe 'sub(%r{# footer_copyright: },"footer-copyright: Copyright ©2014 Red Hat, Inc.")' _config.yaml

hyla add --a article
hyla add --a book
hyla add --a image
hyla add --a audio
hyla add --a video
hyla add --a source
hyla add --a table

echo "Copy header file"
mkdir image
cp ~/hyla/RevealCreatedContent/images/rhheader_thin.png image/

echo "Project created"
ls -la ~/hyla/MyBlankProject

echo "Revert destination parameter"
ruby -i.bak -pe 'sub(%r{destination: .},"destination: generated_content")' _config.yaml



Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hyla-1.0.9 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.9.pre.3 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.9.pre.2 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.9.pre.1 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.8 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.9 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.8 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.7 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.6 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.5 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.3 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.2 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.7.pre.1 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.6 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.5 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.5.pre.1 documentation/scripts/create_myblankproject_add_artefacts_config.sh
hyla-1.0.4 documentation/scripts/create_myblankproject_add_artefacts_config.sh