Skip to content

Commit

Permalink
Added scons target to generate tags file with exuberant ctags.
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Aug 17, 2008
1 parent 60efd90 commit cea87d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
*.swp
*~
*.o
tags
5 changes: 5 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ if HaveNSIS:
installer = env.Installer(env["INSTALLER_NAME"] + "-" + env["INSTALLER_VERSION"], "installer.nsi.template")
env.Alias("installer", installer)

env.Command("tags",
Glob("src/*.cpp") + Glob("src/*.hpp") + Glob("src/*/*.cpp") + Glob("src/*/*.hpp"),
"ctags -o $TARGET $SOURCES"
)

setup_build_output([env, editor_env, namegen_env])

SConsignFile("sconsign")
Expand Down

0 comments on commit cea87d2

Please sign in to comment.