Changeset 15497 in project


Ignore:
Timestamp:
08/15/09 15:35:46 (10 years ago)
Author:
sjamaan
Message:

Add post-commit-hook to setup and meta file

Location:
release/4/qwiki/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release/4/qwiki/trunk/qwiki-post-commit-hook.scm

    r15494 r15497  
    1 #!/usr/pkg/bin/csi -s
    21;;
    32;; qwiki-post-commit-hook - updater script for the quick wiki
     
    4039;(define rev (cadr (command-line-arguments)))
    4140
     41;; These can be overridden in a shellscript that calls this script,
     42;; but if the defaults are ok, this executable can also be placed under
     43;; hooks/post-commit directly.
    4244(define qwiki-source-path
    4345  (make-parameter (or (get-environment-variable "QWIKI_SOURCE_PATH")
     
    7880          ;; If they are a directory, remove that dir (because it might have
    7981          ;; been renamed or removed completely)
     82          ;; All files can be regenerated when needed.
    8083          (if (directory? (make-pathname (qwiki-source-path) path))
    8184              (remove-tree (make-pathname (qwiki-web-path) path))
  • release/4/qwiki/trunk/qwiki.meta

    r15475 r15497  
    77 (doc-from-wiki)
    88 (hidden)
    9  (files "qwiki.scm" "qwiki-sxml" "qwiki-svn" "qwiki.setup"))
     9 (files "qwiki.scm" "qwiki-sxml.scm" "qwiki-nowiki.scm" "qwiki-svn.scm"
     10        "qwiki-post-commit-hook.scm" "qwiki.setup"))
  • release/4/qwiki/trunk/qwiki.setup

    r15375 r15497  
    1313(compile -s -O2 qwiki-nowiki.import.scm)
    1414
     15(compile -O2 qwiki-post-commit-hook.scm)
     16
    1517(install-extension
    1618  'qwiki
     
    2325  `((version 0.1)
    2426    (documentation "qwiki.html")))
     27
     28(install-script
     29  'qwiki-post-commit-hook
     30  '("qwiki-post-commit-hook")
     31  '((version 0.1)))
Note: See TracChangeset for help on using the changeset viewer.