Add license stuff

This commit is contained in:
Aaron Mueller 2014-03-25 23:55:29 +01:00
parent 27b8b05724
commit 248ff5a88f
3 changed files with 51 additions and 4 deletions

View file

@ -1,2 +1,30 @@
# About
Scrape the book list from the "Book of the month" project and generate a nice Scrape the book list from the "Book of the month" project and generate a nice
looking visual representation of the book covers. looking visual representation of the book covers.
# Running
java -jar buchdesmonats.jar
# License
Copyright (C) 2014 Aaron Mueller <mail@aaron-mueller.de>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 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 file

@ -1,8 +1,8 @@
(defproject buchdesmonats "1.0" (defproject buchdesmonats "1.0"
:description "A simple tool to fetch all books of the months from the cthn.de project" :description "A simple tool to fetch all books of the months from the cthn.de project."
:url "http://cthn.de/projects/buch_des_monats" :url "http://cthn.de/projects/buch_des_monats"
:license {:name "Eclipse Public License" :license {:name "MIT License"
:url "http://www.eclipse.org/legal/epl-v10.html"} :url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"] :dependencies [[org.clojure/clojure "1.5.1"]
[enlive "1.1.5"] [enlive "1.1.5"]
[me.raynes/fs "1.4.4"] [me.raynes/fs "1.4.4"]

View file

@ -1,3 +1,22 @@
;;; Copyright (C) 2014 Aaron Mueller <mail@aaron-mueller.de>
;;;
;;; Permission is hereby granted, free of charge, to any person obtaining a copy of
;;; this software and associated documentation files (the "Software"), to deal in
;;; the Software without restriction, including without limitation the rights to
;;; use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
;;; the Software, and to permit persons to whom the Software is furnished to do so,
;;; subject to the following conditions:
;;;
;;; The above copyright notice and this permission notice shall be included in all
;;; copies or substantial portions of the Software.
;;;
;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
;;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
;;; FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 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.
(ns buchdesmonats.core (ns buchdesmonats.core
(:gen-class) (:gen-class)
(:require [net.cgrand.enlive-html :as html] (:require [net.cgrand.enlive-html :as html]
@ -62,4 +81,4 @@
(generate-html (scrape-book-urls github-url) "public") (generate-html (scrape-book-urls github-url) "public")
(doall (pmap #(scrape-book-cover % target-dir) (doall (pmap #(scrape-book-cover % target-dir)
(find-missing-covers github-url target-dir))) (find-missing-covers github-url target-dir)))
true)) (System/exit 0)))