File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 43734373 (put man :dependencies deps )
43744374 (put man :info info ))
43754375 (def module (get-bundle-module bundle-name ))
4376+ (def clean (get config :clean ))
4377+ (def check (get config :check ))
43764378 (def all-hooks (seq [[k v ] :pairs module :when (symbol? k ) :unless (get v :private )] (keyword k )))
43774379 (put man :hooks all-hooks )
43784380 (do-hook module bundle-name :dependencies man ) # deprecated, use :postdeps
43794381 (do-hook module bundle-name :postdeps man )
4380- (do-hook module bundle-name :clean man )
4382+ (when clean
4383+ (do-hook module bundle-name :clean man ))
43814384 (do-hook module bundle-name :build man )
43824385 (do-hook module bundle-name :install man )
43834386 (if (empty? (get man :files )) (print " no files installed, is this a valid bundle?" ))
43844387 (sync-manifest man )
4385- (do-hook module bundle-name :check man ))
4388+ (when check
4389+ (do-hook module bundle-name :check man )))
43864390 (print " installed " bundle-name )
43874391 (when (get man :has-bin-script )
43884392 (def binpath (string (dyn *syspath* ) s " bin" ))
You can’t perform that action at this time.
0 commit comments