Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
(restas:define-module #:eshop | ||
(:use #:cl #:iter #:alexandria)) | ||
|
||
(in-package #:eshop) | ||
|
||
(let ((path '(:RELATIVE "repo/eshop"))) | ||
(setf asdf:*central-registry* | ||
(remove-duplicates (append asdf:*central-registry* | ||
(list (merge-pathnames | ||
(make-pathname :directory path) | ||
(user-homedir-pathname)))) | ||
:test #'equal))) | ||
|
||
(defparameter *basedir* | ||
(asdf:component-pathname (asdf:find-system '#:eshop))) | ||
|
||
;; (defparameter *host* "") | ||
|
||
(defun path (relative) | ||
(merge-pathnames relative *basedir*)) | ||
|
||
;; (closure-template:compile-template :common-lisp-backend (path "templates.htm")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(asdf:defsystem #:eshop | ||
:version "11.03.2011" | ||
:author "rigidus <i.am.rigidus@gmail.com>" | ||
:licence "GPLv3" | ||
:description "eshop" | ||
:depends-on (#:cl-ppcre | ||
#:restas-directory-publisher | ||
#:closure-template) | ||
:serial t | ||
:components ((:module "tpl" | ||
:components ((:static-file "templates.htm"))) | ||
(:file "defmodule") | ||
(:file "render") | ||
;; (:file "routes") | ||
;; (:file "init") | ||
;; (:module "daemon" | ||
;; :components ((:static-file "daemon.conf") | ||
;; (:static-file "daemon.lisp") | ||
;; (:static-file "daemon.sh"))) | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
;;;; render.lisp | ||
;;;; | ||
;;;; This file is part of the cl-eshop project, released under GNU Affero General Public License, Version 3.0 | ||
;;;; See file COPYING for details. | ||
;;;; | ||
;;;; Author: Glukhov Michail aka Rigidus <i.am.rigidus@gmail.com> | ||
|
||
(in-package #:eshop) | ||
|
||
|
||
;; (defclass eshop-render () ()) | ||
|
||
;; (setf *default-render-method* (make-instance 'eshop-render)) | ||
|
||
;; (defmethod restas:render-object ((designer eshop-render) (obj t)) | ||
;; "stub") |