Permalink
Browse files

Add LICENSE to built file

Fixes #411
  • Loading branch information...
kpdecker committed Jan 21, 2013
1 parent d486e7f commit f8a346b3ceeb764064f60f80a3034794dad9d750
Showing with 1 addition and 2 deletions.
  1. +0 −1 LICENSE
  2. +1 −1 Rakefile
View
@@ -17,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-
View
@@ -61,7 +61,7 @@ def build_for_task(task)
FileUtils.rm_rf("dist/*") if File.directory?("dist")
FileUtils.mkdir_p("dist")
- contents = []
+ contents = ["/*\n\n" + File.read('LICENSE') + "\n*/\n"]
task.prerequisites.each do |filename|
next if filename == "dist"

0 comments on commit f8a346b

Please sign in to comment.