Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude folders and files from build

Tags:

intel-xdk

I have a mercurial repository and some visual studio files (I am using TypeScript) that I don't want included in my XDK build, but still need to be in the project directory. Is there a way to get Intel XDK to ignore them? I tried using the ignore setting but it didn't work.

Thanks.

like image 796
Peter Avatar asked Mar 20 '23 10:03

Peter


1 Answers

On the "Projects Tab" there are two directories that define your project: "Project Path" and "Source Directory." Project Path should always point to the "root" directory that contains your "project.xdk" file (it represents the top-level of your project). Source Directory can point to a subdirectory within the project that contains only those files that are germane to the build (it should contain the "source" files that actually represent your project).

If some of these other files need to be within this "Source Directory" then the "Exluded File Types" is the option that causes those files to be ignored. YOu can use the * wild card to exclude files. Note that the default exclude string (.git,.GIT,.svn,.SVN,.cvs,.hg,.HG, .CVS,.ignore,.IGNORE,.DS_Store) contains a list of directories. So, for example, you might include .hg in that list. If you've got some file extensions you want to exclude you would add those by using something like *.py, for example.

like image 116
xmnboy Avatar answered May 25 '23 01:05

xmnboy