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