update-info module
parent
ced29f92c8
commit
abe8db6aa5
@ -1 +1 @@
|
||||
1454184871
|
||||
1454185672
|
||||
|
@ -0,0 +1,11 @@
|
||||
#lang racket/base
|
||||
(require racket/runtime-path racket/file pollen/private/version)
|
||||
|
||||
(define-runtime-path info-file "../info.rkt")
|
||||
|
||||
(define str (file->string info-file))
|
||||
|
||||
(define newstr
|
||||
(regexp-replace #rx"\\(define version .*?\\)" str (format "(define version ~v)" (pollen:version))))
|
||||
|
||||
(display-to-file newstr info-file #:exists 'replace)
|
Loading…
Reference in New Issue