Skip to content

Instantly share code, notes, and snippets.

@njlr
Created October 18, 2017 14:57
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 njlr/ccc9682e9b71af5a0a8e3ee268299812 to your computer and use it in GitHub Desktop.
Save njlr/ccc9682e9b71af5a0a8e3ee268299812 to your computer and use it in GitHub Desktop.
genrule(
 name = 'guarded-add', 
  out = 'add.hpp',
  srcs = [
  'scripts/add-include-guard.py',
  'add.hpp',
  ],
 cmd = 'python $SRCS > $OUT',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment