File tree 6 files changed +31
-12
lines changed
6 files changed +31
-12
lines changed Original file line number Diff line number Diff line change 1
1
# pgloader build tool
2
2
APP_NAME = pgloader
3
- VERSION = 3.6.0
3
+ VERSION = 3.6.1
4
4
5
5
# use either sbcl or ccl
6
6
CL = sbcl
@@ -24,7 +24,7 @@ QLDIR = $(BUILDDIR)/quicklisp
24
24
MANIFEST = $(BUILDDIR ) /manifest.ql
25
25
LATEST = $(BUILDDIR ) /pgloader-latest.tgz
26
26
27
- BUNDLEDIST = 2018-10-18
27
+ BUNDLEDIST = 2019-01-07
28
28
BUNDLENAME = pgloader-bundle-$(VERSION )
29
29
BUNDLEDIR = $(BUILDDIR ) /bundle/$(BUNDLENAME )
30
30
BUNDLE = $(BUILDDIR ) /$(BUNDLENAME ) .tgz
@@ -99,8 +99,11 @@ clones: $(QLDIR)/local-projects/cl-ixf \
99
99
$(QLDIR)/local-projects/cl-csv \
100
100
$(QLDIR)/local-projects/qmynd ;
101
101
102
- $(LIBS ) : $(QLDIR ) /setup.lisp clones
102
+ $(LIBS ) : $(QLDIR ) /setup.lisp
103
103
$(CL ) $(CL_OPTS ) --load $(QLDIR ) /setup.lisp \
104
+ --eval '(push :pgloader-image * features* )' \
105
+ --eval '(setf *print-circle* t *print-pretty* t)' \
106
+ --eval '(ql :quickload "pgloader")' \
104
107
--eval '(push "$(PWD ) /" ql :* local-project-directories* )' \
105
108
--eval '(ql :quickload "pgloader")' \
106
109
--eval '(quit)'
@@ -141,8 +144,11 @@ $(PGLOADER): $(MANIFEST) $(BUILDAPP) $(LISP_SRC)
141
144
--manifest-file $(MANIFEST) \
142
145
--asdf-tree $(QLDIR)/dists \
143
146
--asdf-path . \
144
- --load-system $(APP_NAME) \
147
+ --load-system cffi \
148
+ --load-system cl+ssl \
149
+ --load-system mssql \
145
150
--load src/hooks.lisp \
151
+ --load-system $(APP_NAME) \
146
152
--entry pgloader :main \
147
153
--dynamic-space-size $(DYNSIZE) \
148
154
$(COMPRESS_CORE_OPT) \
Original file line number Diff line number Diff line change @@ -48,9 +48,12 @@ $(PGLOADER): $(BUILDAPP)
48
48
$(BUILDAPP_OPTS) \
49
49
--sbcl $(CL) \
50
50
--asdf-tree . \
51
+ --load-system cffi \
52
+ --load-system cl+ssl \
53
+ --load-system mssql \
54
+ --load $(SRCDIR)/src/hooks.lisp \
51
55
--load-system $(APP_NAME) \
52
56
--eval '(setf pgloader.params ::* version-string* "$(VERSION ) ")' \
53
- --load $(SRCDIR)/src/hooks.lisp \
54
57
--entry pgloader :main \
55
58
--dynamic-space-size $(DYNSIZE) \
56
59
$(COMPRESS_CORE_OPT) \
Original file line number Diff line number Diff line change 9
9
; ;; :cl+ssl in its system definition.
10
10
; ;;
11
11
12
+ (in-package # :cl-user)
13
+
12
14
; ; So that we can #+pgloader-image some code away, see main.lisp
13
15
(push :pgloader-image *features* )
14
16
18
20
; ;;
19
21
(setf *print-circle* t *print-pretty* t )
20
22
21
-
22
- (in-package # :cl-user)
23
-
24
23
(defun close-foreign-libs ()
25
24
" Close Foreign libs in use by pgloader at application save time."
26
25
(let (#+ sbcl (sb-ext :*muffled-warnings* ' style-warning))
47
46
; ;; Register all loaded systems in the image, so that ASDF don't search for
48
47
; ;; them again when doing --self-upgrade
49
48
; ;;
49
+
50
+ ; ;; FIXME: this idea kept failing.
51
+
52
+ #|
50
53
(defun register-preloaded-system (system)
51
54
(unless (string= "pgloader" (asdf::coerce-name system))
52
55
(let ((version (slot-value system 'asdf::version)))
64
67
(asdf:find-system system-name)))
65
68
when (typep o 'asdf:load-source-op)
66
69
append (asdf:input-files o c)))
70
+ |#
Original file line number Diff line number Diff line change 243
243
244
244
; ; Then process options
245
245
(when debug
246
+ (format t " pgloader version ~a~% " *version-string* )
247
+ #+ pgloader-image
248
+ (format t " compiled with ~a ~a~% "
249
+ (lisp-implementation-type )
250
+ (lisp-implementation-version ))
246
251
#+ sbcl
247
252
(format t " sb-impl::*default-external-format* ~s~% "
248
253
sb-impl ::*default-external-format* )
Original file line number Diff line number Diff line change 40
40
41
41
(in-package :pgloader.params )
42
42
43
- (defparameter *release* nil
43
+ (defparameter *release* t
44
44
" non-nil when this build is a release build." )
45
45
46
- (defparameter *major-version* " 3.5 " )
47
- (defparameter *minor-version* " 2 " )
46
+ (defparameter *major-version* " 3.6 " )
47
+ (defparameter *minor-version* " 1 " )
48
48
49
49
(defun git-hash ()
50
50
" Return the current abbreviated git hash of the development tree."
Original file line number Diff line number Diff line change 214
214
(start
215
215
(when (start-start-logger event)
216
216
(pgloader.logs :start-logger))
217
- (cl-log :log-message :info " Starting monitor" ))
217
+ (cl-log :log-message :info " Starting monitor" )
218
+ (cl-log :log-message :log " pgloader version ~s " *version-string* ))
218
219
219
220
(stop
220
221
(cl-log :log-message :info " Stopping monitor" )
You can’t perform that action at this time.
0 commit comments