Skip to content

Commit

Permalink
license: update copyright information and automate future updates
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed May 9, 2016
1 parent da1b647 commit b3229bd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Copyright (c) 2015 Plaid Technologies, Inc.
The MIT License (MIT)

Copyright (c) 2016 Sanctuary
Copyright (c) 2016 Plaid Technologies, Inc.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ XYZ = node_modules/.bin/xyz --repo [email protected]:sanctuary-js/sanctuary.git --s


.PHONY: all
all: README.md
all: LICENSE README.md

.PHONY: LICENSE
LICENSE:
cp -- '$@' '[email protected]'
sed 's/Copyright (c) .* Sanctuary/Copyright (c) $(shell git log --date=format:%Y --pretty=format:%ad | sort -r | head -n 1) Sanctuary/' '[email protected]' >'$@'
rm -- '[email protected]'

README.md: index.js
$(TRANSCRIBE) \
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepublish
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ set -e

rm -f README.md
make
git add README.md
git add LICENSE README.md

0 comments on commit b3229bd

Please sign in to comment.