Skip to content

Instantly share code, notes, and snippets.

View netmikey's full-sized avatar

Mike Meessen netmikey

  • Aachen, Germany
View GitHub Profile
@netmikey
netmikey / angular-make-template-variables-public.sh
Created March 28, 2017 12:38
A shell command to make variables used in angular templates public
#
# A macOS shell command to patch large code bases and make variables used in
# templates public.
# To be executed from the project root. It uses the error output of the
# angular-cli build command. angular-cli must be installed in version 1.0.0.
#
# Yes, this is awfully hacky and changes should be reviewed - but as always:
# this commes at best effort and without any warranties, you should use git
# anyway ;)
#