Sha256: 5fe6d57963a8ca486c4994095e99547f142a646a6201151fbeb5f4420bf24621

Contents?: true

Size: 1020 Bytes

Versions: 2

Compression:

Stored size: 1020 Bytes

Contents

<% upname = name.upcase -%>
# append <%= upname %> bin paths to PATH
export PATH=$PATH:${<%= upname %>}/bin

<% if project_options[:delight] -%>
# append <%= upname %> delight paths to bin
export PATH=$PATH:${<%= upname %>}/delight/procedural

# append <%= upname %> delight resource paths
if [[ -n $DELIGHT ]] ;then

	if [[ -n $DL_SHADERS_PATH ]] ;
		then export DL_SHADERS_PATH=.:${<%= upname %>}/delight/shader:${DL_SHADERS_PATH} ;
		else export DL_SHADERS_PATH=.:${<%= upname %>}/delight/shader ;
	fi
	
	if [[ -n $DL_PROCEDURALS_PATH ]] ;
		then export DL_PROCEDURALS_PATH=.:${<%= upname %>}/delight/procedural:${DL_PROCEDURALS_PATH} ;
		else export DL_PROCEDURALS_PATH=.:${<%= upname %>}/delight/procedural ;
	fi
	
fi
<% end -%>

<% if project_options[:nuke] -%>
# append <%= upname %> nuke resource paths
if [[ -n $NUKE_LOCATION ]] ;then

	if [[ -n $NUKE_PATH ]] ;
		then export NUKE_PATH=.:${<%= upname %>}/nuke/scripts:${NUKE_PATH} ;
		else export NUKE_PATH=.:${<%= upname %>}/nuke/scripts ;
	fi
	
fi
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flak-0.0.6 lib/flak/thor/templates/product.sh.tt
flak-0.0.5 lib/flak/thor/templates/product.sh.tt