snow on CSAN
This commit is contained in:
parent
dc5cdfdbe8
commit
1dc953ec8f
|
@ -214,8 +214,9 @@ a valid CSAN URL now.
|
||||||
"22. Please remember to call 'o conf commit' to make the config permanent!
|
"22. Please remember to call 'o conf commit' to make the config permanent!
|
||||||
|
|
||||||
|
|
||||||
cpan shell -- CSAN exploration and modules installation (v1.9402)
|
cpan shell -- CSAN exploration and modules installation (v0.1)
|
||||||
Enter 'h' for help.")
|
Enter 'h' for help.
|
||||||
|
Commands : get filename.tar.gz")
|
||||||
|
|
||||||
(define questions (make-table))
|
(define questions (make-table))
|
||||||
(table-set! questions 1 CSAN-shell-droptext-1)
|
(table-set! questions 1 CSAN-shell-droptext-1)
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
(define-interface CSAN-interface
|
(define-interface CSAN-interface
|
||||||
(export
|
(export
|
||||||
CSAN-question~))
|
CSAN-question~
|
||||||
|
CSAN-shell-spawn
|
||||||
|
CSAN-dir))
|
||||||
|
|
||||||
(define-structure CSAN
|
(define-structure CSAN
|
||||||
CSAN-interface
|
CSAN-interface
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;;; load.scm - a scheme CSAN
|
;;; load.scm - a scheme CSAN - Snow utility
|
||||||
;;;
|
;;;
|
||||||
;;; Copyright (c) 2012 Johan Ceuppens
|
;;; Copyright (c) 2012 Johan Ceuppens
|
||||||
;;;
|
;;;
|
||||||
|
@ -27,4 +27,9 @@
|
||||||
;;; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
;;; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
(load "snow-repository.scm")
|
(load "snow-repository.scm")
|
||||||
(display (snow-repository "./test.scm" '()))
|
|
||||||
|
(let* ((url (snow-repository "./test.scm" '()))
|
||||||
|
(snow-mirror-url url))
|
||||||
|
(display (question? 22))
|
||||||
|
(CSAN-shell-spawn CSAN-dir snow-mirror-url))
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
|
|
||||||
(define-structure snow
|
(define-structure snow
|
||||||
snow-interface
|
snow-interface
|
||||||
(open scheme)
|
(open scheme CSAN)
|
||||||
(files snow))
|
(files snow-repository))
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
(set! index4 (parse-for contents "url" index))
|
(set! index4 (parse-for contents "url" index))
|
||||||
(set! urlstr (parse-for-url contents index4))
|
(set! urlstr (parse-for-url contents index4))
|
||||||
|
|
||||||
(set! db (append db (cons "url" urlstr)))
|
(set! db (append db (list (list "url" urlstr))))
|
||||||
db))
|
db))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue