Browse Source

+ licence to headers

> [The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.](https://github.com/jonschlinkert/remarkable/blob/master/LICENSE)

But I think `license MIT` is fine; devs & CS lawyers know what this means.
The `!` & `@license` are flags for minifiers & concocters to keep the legal notification.
Sorry to lengthen your header; very admirable of you to keep it small!
pull/14/head
Tom Byrer 10 years ago
parent
commit
6182f74807
  1. 4
      Makefile

4
Makefile

@ -57,12 +57,12 @@ browserify:
rm -rf ./dist
mkdir dist
# Browserify
( echo -n "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
( echo -n "/*! ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} @license MIT */" ; \
browserify -r ./ -s Remarkable \
) > dist/remarkable.js
# Minify
uglifyjs dist/remarkable.js -c -m \
--preamble "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" \
--preamble "/*! ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} @license MIT */" \
> dist/remarkable.min.js

Loading…
Cancel
Save