Skip to content

Commit

Permalink
[paperjs] touch up package
Browse files Browse the repository at this point in the history
* Make +version+ parameter to download for easier maintenance
* Include build number in published version
* Remove license
  • Loading branch information
crisptrutski committed Sep 13, 2015
1 parent 2bd827a commit c2ac3af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
2 changes: 1 addition & 1 deletion paperjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[](dependency)
```clojure
[cljsjs/paperjs "0.9.24"] ;; latest release
[cljsjs/paperjs "0.9.24-0"] ;; latest release
```
[](/dependency)

Expand Down
7 changes: 4 additions & 3 deletions paperjs/build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@
'[cljsjs.boot-cljsjs.packaging :refer :all])

(def +version+ "0.9.24")
(bootlaces! +version+)
(def +cljsjs-version+ (str +version+ "-0"))
(bootlaces! +cljsjs-version+)

(task-options!
pom {:project 'cljsjs/paperjs
:version +version+
:version +cljsjs-version+
:description "The Swiss Army Knife of Vector Graphics Scripting"
:url "http://paperjs.org"
:scm {:url "https://github.com/cljsjs/packages"}
:license {"MIT" "http://opensource.org/licenses/MIT"}})

(deftask package []
(comp
(download :url "https://github.com/paperjs/paper.js/archive/v0.9.24.zip"
(download :url (str "https://github.com/paperjs/paper.js/archive/v" +version+ ".zip")
:checksum "36FC91B3438A8967D1231876F731E918"
:unzip true)
(sift :move {#"^paper.js-.*/dist/paper-full.js" "cljsjs/development/paper-full.inc.js"
Expand Down
37 changes: 0 additions & 37 deletions paperjs/resources/cljsjs/paperjs/common/paper-js.ext.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,3 @@
/*!
Filename: paper-js.ext.js
Description: Using Paper.js in ClojureScript under Google Closure's advanced optimization
Author: Ryan Kee
Commentary: Based on code autogenerated by http://www.dotnetwise.com/Code/Externs
Paper.js license ---
Paper.js v0.9.24 - The Swiss Army Knife of Vector Graphics Scripting.
http://paperjs.org/
Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
http://scratchdisk.com/ & http://jonathanpuckey.com/
Distributed under the MIT license. See LICENSE file for details.
All rights reserved.
Date: Fri Aug 21 16:39:41 2015 +0200
***
Straps.js - Class inheritance library with support for bean-style accessors
Copyright (c) 2006 - 2013 Juerg Lehni
http://scratchdisk.com/
Distributed under the MIT license.
***
Acorn.js
http://marijnhaverbeke.nl/acorn/
Acorn is a tiny, fast JavaScript parser written in JavaScript,
created by Marijn Haverbeke and released under an MIT license.
*/
var paper = {
"settings": {
"applyMatrix": {},
Expand Down

0 comments on commit c2ac3af

Please sign in to comment.