Commit Graph

108 Commits

Author SHA1 Message Date
Carn
8b5f6d12cc Adding expand_filedir_paths.py - It replaces all 'file.extension' resource file references with 'relative_path/file.extension'. This should speed up compile times by reducing the number of places the compiler must look for resources.
Minor modification so the replacement list doesn't try to replace non-files inside single-quotes should the text contained in single-quotes be that of a directory name.
Example: "<span class='game'>" was becoming "<span class='code/game'>"

All credits go to thvortex of ss13-daedalus branch.
Signed-off-by: Carn <elly1989@rocketmail.com>
2012-08-18 18:00:27 +01:00
elly1989@rocketmail.com
4073ac9b00 Replaced all 'file.extension' references with 'relativepath/file.extension' using a script by thvortex of ss13-daedalus.
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.

To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"

If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 16:33:40 +00:00
petethegoat@gmail.com
3b20a8e975 Moved the redirector and runtime condenser into the tools folder.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4252 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 17:03:43 +00:00
Erthilo
ddfdeb339e TG: - Committing the source code of the "Unstandardness Text For DM" program. The
program can currently map out defines.
Revision: r3728
Author: 	 baloh.matevz
2012-06-07 01:15:10 +01:00
baloh.matevz
a9e0d66d88 - Updated the source code of the "Unstandardness Text For DM" program. It now has a function which removes comments from a list of strings (file contents). The define search funciton now first removes comments and then checks for defines and their references.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3729 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-03 03:20:19 +00:00
baloh.matevz
74fbd4e249 - Committing the source code of the "Unstandardness Text For DM" program. The program can currently map out defines.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3728 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 21:01:58 +00:00
Ren Erthilo
7e13ad12cb TG: Added a line counter tool. Counts the number of files, lines, characters, etc.
in the project.
Revision: r3070
Author: 	 baloh.matevz
2012-04-22 02:50:29 +01:00
baloh.matevz
3681eb8783 Added a line counter tool. Counts the number of files, lines, characters, etc. in the project.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3070 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-09 18:52:44 +00:00