Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Meessen netmikey

  • Aachen, Germany
View GitHub Profile
@netmikey
netmikey / angular-make-template-variables-public.sh
Created Mar 28, 2017
A shell command to make variables used in angular templates public
View angular-make-template-variables-public.sh
#
# 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 ;)
#