Skip to content

Commit

Permalink
Make extension output precious
Browse files Browse the repository at this point in the history
Otherwise, the way the rules are set up, the un-minified extension
bundles are only intermediate outputs and so they are deleted by
make upon termination. TBH I don't understand why this isn't so
with annotator.js.
  • Loading branch information
tilgovi committed Sep 25, 2015
1 parent 6f4f629 commit 609b4d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -55,3 +55,4 @@ doc/api/%.rst: src/%.js
-include .deps/*.d

.PHONY: all annotator exts clean test develop doc
.PRECIOUS: pkg/annotator.%.js

1 comment on commit 609b4d4

@tilgovi
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the explanation is because annotator.js is mentioned explicitly while the extensions are an implicit rule.

Please sign in to comment.