Skip to content

Instantly share code, notes, and snippets.

@kayru
Created April 21, 2012 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kayru/2436986 to your computer and use it in GitHub Desktop.
Save kayru/2436986 to your computer and use it in GitHub Desktop.
Data build jamfile
# JamPlus script
SubDir TOP ;
DEPCACHE.standard = ../bin/data/depcache ;
# Global paths
PATH_DATA = "../bin/data" ;
PATH_CONTENT = "../content" ;
# Versions for asset types (bump up to force re-build)
MODEL_VERSION = "6" ;
TEXTURE_VERSION = "6" ;
# Common textures
RecursiveBuildDirectoryRule "commontextures" : "*.*" ; #TODO: move common textures to the "textures" directory
RecursiveBuildDirectoryRule "textures" : "*.*" ;
# Configs
CopyDirectoryRule "configs" : "*.xml" ;
# Environments
CopyDirectoryRule "environments" : "*.dds" ;
# Fonts
CopyDirectoryRule "fonts" : "*.fnt" ;
CopyDirectoryRule "fonts" : "*.png" ;
# GUI
CopyDirectoryRule "gui" : "*.fnt" ;
CopyDirectoryRule "gui" : "*.tga" ;
CopyDirectoryRule "gui" : "*.png" ;
# Models
RecursiveBuildDirectoryRule "models" : "*.*" ;
# Scenes
CopyDirectoryRule "scenes" : "*.xml" ;
# Scripts
CopyDirectoryRule "scripts" : "*.lua" ;
# Sequences
CopyDirectoryRule "sequences" : "*.xml" ;
# Textures
BuildDirectoryRule "textures" : "*.*" ;
# EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment