From 9ee0968a0fdcd65b7ab4b4673d267530144283a0 Mon Sep 17 00:00:00 2001 From: lacarmen Date: Fri, 5 Dec 2014 10:56:40 -0500 Subject: [PATCH] Renamed to cryogen-core --- project.clj | 2 +- src/{cryogen => cryogen_core}/compiler.clj | 12 ++++++------ src/{cryogen => cryogen_core}/github.clj | 2 +- src/{cryogen => cryogen_core}/io.clj | 2 +- src/{cryogen => cryogen_core}/rss.clj | 2 +- src/{cryogen => cryogen_core}/sass.clj | 2 +- src/{cryogen => cryogen_core}/sitemap.clj | 4 ++-- src/{cryogen => cryogen_core}/toc.clj | 2 +- src/{cryogen => cryogen_core}/watcher.clj | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) rename src/{cryogen => cryogen_core}/compiler.clj (97%) rename src/{cryogen => cryogen_core}/github.clj (98%) rename src/{cryogen => cryogen_core}/io.clj (98%) rename src/{cryogen => cryogen_core}/rss.clj (97%) rename src/{cryogen => cryogen_core}/sass.clj (98%) rename src/{cryogen => cryogen_core}/sitemap.clj (89%) rename src/{cryogen => cryogen_core}/toc.clj (97%) rename src/{cryogen => cryogen_core}/watcher.clj (95%) diff --git a/project.clj b/project.clj index b72eb5e..73f17a0 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject cryogen-core "0.1.0" +(defproject cryogen-core "0.1.1" :description "Cryogen's compiler" :url "https://github.com/lacarmen/cryogen-core" :license {:name "Eclipse Public License" diff --git a/src/cryogen/compiler.clj b/src/cryogen_core/compiler.clj similarity index 97% rename from src/cryogen/compiler.clj rename to src/cryogen_core/compiler.clj index af2e6bd..05ca660 100644 --- a/src/cryogen/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -1,16 +1,16 @@ -(ns cryogen.compiler +(ns cryogen-core.compiler (:require [selmer.parser :refer [cache-off! render-file]] - [cryogen.io :refer + [cryogen-core.io :refer [get-resource find-assets create-folder wipe-public-folder copy-resources]] - [cryogen.sitemap :as sitemap] - [cryogen.rss :as rss] + [cryogen-core.sitemap :as sitemap] + [cryogen-core.rss :as rss] [io.aviso.exception :refer [write-exception]] [clojure.java.io :refer [copy file reader writer]] [clojure.string :as s] [text-decoration.core :refer :all] [markdown.core :refer [md-to-html-string]] - [cryogen.toc :refer [generate-toc]] - [cryogen.sass :as sass])) + [cryogen-core.toc :refer [generate-toc]] + [cryogen-core.sass :as sass])) (cache-off!) diff --git a/src/cryogen/github.clj b/src/cryogen_core/github.clj similarity index 98% rename from src/cryogen/github.clj rename to src/cryogen_core/github.clj index 74af491..6b292a9 100644 --- a/src/cryogen/github.clj +++ b/src/cryogen_core/github.clj @@ -1,4 +1,4 @@ -(ns cryogen.github +(ns cryogen-core.github (:require [cheshire.core :as json]) (:import (org.apache.commons.codec.binary Base64 StringUtils))) diff --git a/src/cryogen/io.clj b/src/cryogen_core/io.clj similarity index 98% rename from src/cryogen/io.clj rename to src/cryogen_core/io.clj index 0735166..6bfc052 100644 --- a/src/cryogen/io.clj +++ b/src/cryogen_core/io.clj @@ -1,4 +1,4 @@ -(ns cryogen.io +(ns cryogen-core.io (:require [clojure.java.io :refer [file]] [me.raynes.fs :as fs])) diff --git a/src/cryogen/rss.clj b/src/cryogen_core/rss.clj similarity index 97% rename from src/cryogen/rss.clj rename to src/cryogen_core/rss.clj index ad60e60..26856fa 100644 --- a/src/cryogen/rss.clj +++ b/src/cryogen_core/rss.clj @@ -1,4 +1,4 @@ -(ns cryogen.rss +(ns cryogen-core.rss (:require [clj-rss.core :as rss] [clojure.xml :refer [emit]]) (:import java.util.Date)) diff --git a/src/cryogen/sass.clj b/src/cryogen_core/sass.clj similarity index 98% rename from src/cryogen/sass.clj rename to src/cryogen_core/sass.clj index 01564c0..78f889b 100644 --- a/src/cryogen/sass.clj +++ b/src/cryogen_core/sass.clj @@ -1,4 +1,4 @@ -(ns cryogen.sass +(ns cryogen-core.sass (:require [clojure.java.shell :refer [sh]] [clojure.java.io :as io])) diff --git a/src/cryogen/sitemap.clj b/src/cryogen_core/sitemap.clj similarity index 89% rename from src/cryogen/sitemap.clj rename to src/cryogen_core/sitemap.clj index cafb11b..0cf4736 100644 --- a/src/cryogen/sitemap.clj +++ b/src/cryogen_core/sitemap.clj @@ -1,6 +1,6 @@ -(ns cryogen.sitemap +(ns cryogen-core.sitemap (:require [clojure.xml :refer [emit]] - [cryogen.io :refer [get-resource find-assets]]) + [cryogen-core.io :refer [get-resource find-assets]]) (:import java.util.Date)) ;;generate sitemaps using the sitemap spec diff --git a/src/cryogen/toc.clj b/src/cryogen_core/toc.clj similarity index 97% rename from src/cryogen/toc.clj rename to src/cryogen_core/toc.clj index 003323b..b30f60b 100644 --- a/src/cryogen/toc.clj +++ b/src/cryogen_core/toc.clj @@ -1,4 +1,4 @@ -(ns cryogen.toc +(ns cryogen-core.toc (:require [crouton.html :as html] [hiccup.core :as hiccup])) diff --git a/src/cryogen/watcher.clj b/src/cryogen_core/watcher.clj similarity index 95% rename from src/cryogen/watcher.clj rename to src/cryogen_core/watcher.clj index 9012e65..e1edccd 100644 --- a/src/cryogen/watcher.clj +++ b/src/cryogen_core/watcher.clj @@ -1,4 +1,4 @@ -(ns cryogen.watcher +(ns cryogen-core.watcher (:require [clojure.java.io :refer [file]])) (defn get-assets [root]