Squashed 'deps/ox/' changes from 56d91c1..4887d55
4887d55Merge branch 'master' of github.com:wombatant/ox84533e5Add walk command.916d07eMerge branch 'master' of github.com:wombatant/ox into ox_master31af216Add operator< for DirectoryListing218511cFix mkdir not to overwrite an existing dir15e05dfRemove unused scripts292caadAdd link count to stat in FS99e459aAdd links count field to inodes3211cc4Add . and .. directory entries to directores30c2837Switch to .liccor.yml16b6ed3Add a check to ls to prevent ls-ing of non-directories git-subtree-dir: deps/ox git-subtree-split:4887d55a98
This commit is contained in:
@@ -1 +0,0 @@
|
||||
clang-check `find . | grep "\.cpp" | grep -v CMakeFiles | grep -v editormodels\.cpp`
|
||||
@@ -1,16 +0,0 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
import sys
|
||||
|
||||
if len(sys.argv) < 3:
|
||||
sys.exit(1)
|
||||
|
||||
pkg = sys.argv[1]
|
||||
name = sys.argv[2]
|
||||
ifdef = "WOMBAT_%s_%s_HPP" % (pkg.upper(), name.upper())
|
||||
namespace = "namespace wombat {\nnamespace %s {\n\n}\n}" % pkg
|
||||
hpp = "#ifndef %s\n#define %s\n\n%s\n\n#endif" % (ifdef, ifdef, namespace)
|
||||
cpp = "#include \"%s.hpp\"\n\n%s" % (name, namespace)
|
||||
|
||||
open("src/%s/%s.hpp" % (pkg, name), "w").write(hpp)
|
||||
open("src/%s/%s.cpp" % (pkg, name), "w").write(cpp)
|
||||
Reference in New Issue
Block a user