Permalink
Browse files

Merge pull request #1270 from flyboarder/master

Fix Skel v3
  • Loading branch information...
Deraen committed Jul 29, 2017
2 parents 05e5376 + b590f14 commit dc904746011d4381ac576f3872f5b2481c83824a
Showing with 23 additions and 12 deletions.
  1. +11 −12 skel/build.boot
  2. 0 skel/resources/cljsjs/{ → skel}/common/skel.ext.js
  3. +12 −0 skel/resources/deps.cljs
View
@@ -5,7 +5,7 @@
(require '[cljsjs.boot-cljsjs.packaging :refer :all])
(def +lib-version+ "3.0.1")
(def +version+ (str +lib-version+ "-0"))
(def +version+ (str +lib-version+ "-1"))
(task-options!
pom {:project 'cljsjs/skel
@@ -18,23 +18,22 @@
(deftask package []
(comp
(download :url (str "https://github.com/ajlkn/skel/archive/v" +lib-version+ ".zip")
:checksum "468BF568614B27BB9FB08A56A94A70ED"
:checksum "D03E4D90221C799E703FF9653CBCC112"
:unzip true)
(sift :move {
;; Development JS
#"skel-([\d\.]*)/src/skel.js" "cljsjs/development/skel.inc.js"
#"skel-([\d\.]*)/src/skel-layout.js" "cljsjs/development/skel-layout.inc.js"
#"skel-([\d\.]*)/src/skel-viewport.js" "cljsjs/development/skel-viewport.inc.js"
#"skel-([\d\.]*)/src/skel.js" "cljsjs/skel/development/skel.inc.js"
#"skel-([\d\.]*)/src/skel-layout.js" "cljsjs/skel/development/skel-layout.inc.js"
#"skel-([\d\.]*)/src/skel-viewport.js" "cljsjs/skel/development/skel-viewport.inc.js"
;; Production JS
#"skel-([\d\.]*)/dist/skel.min.js" "cljsjs/production/skel.inc.js"
#"skel-([\d\.]*)/dist/skel-layout.min.js" "cljsjs/production/skel-layout.inc.js"
#"skel-([\d\.]*)/dist/skel-viewport.min.js" "cljsjs/production/skel-viewport.inc.js"
#"skel-([\d\.]*)/dist/skel.min.js" "cljsjs/skel/production/skel.min.inc.js"
#"skel-([\d\.]*)/dist/skel-layout.min.js" "cljsjs/skel/production/skel-layout.min.inc.js"
#"skel-([\d\.]*)/dist/skel-viewport.min.js" "cljsjs/skel/production/skel-viewport.min.inc.js"
;; Development CSS
#"skel-([\d\.]*)/src/_skel.scss" "cljsjs/development/_skel.scss"
#"skel-([\d\.]*)/src/_skel.scss" "cljsjs/skel/development/_skel.scss"
;; Production CSS
#"skel-([\d\.]*)/dist/_skel.scss" "cljsjs/production/_skel.scss"
#"skel-([\d\.]*)/dist/_skel.scss" "cljsjs/skel/production/_skel.scss"
})
(sift :include #{#"^cljsjs"})
(deps-cljs :name "cljsjs.skel")
(sift :include #{#"^cljsjs" #"^deps.cljs"})
(pom)
(jar)))
View
@@ -0,0 +1,12 @@
{:foreign-libs [{:file "cljsjs/skel/development/skel.inc.js"
:file-min "cljsjs/skel/production/skel.min.inc.js"
:provides ["cljsjs.skel"]}
{:file "cljsjs/skel/development/skel-layout.inc.js"
:file-min "cljsjs/skel/production/skel-layout.min.inc.js"
:requires ["cljsjs.skel"]
:provides ["cljsjs.skel-layout"]}
{:file "cljsjs/skel/development/skel-viewport.inc.js"
:file-min "cljsjs/skel/production/skel-viewport.min.inc.js"
:requires ["cljsjs.skel"]
:provides ["cljsjs.skel-viewport"]}]
:externs ["cljsjs/skel/common/skel.ext.js"]}

0 comments on commit dc90474

Please sign in to comment.