mason.release.sign: use build-dir not build-dir get. make factor path at run-time not at parse-time.

locals-and-roots
Doug Coleman 2016-03-31 09:54:02 -07:00
parent 96ad040ed7
commit 8c4e602973
1 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ IN: mason.release.sign
<< <<
! Two cases to allow signing in mason or in the UI ! Two cases to allow signing in mason or in the UI
: make-factor-path ( path -- path ) : make-factor-path ( path -- path )
build-dir get [ build-dir [
! In a build, make dir: "build-dir/factor/factor.com" ! In a build, make dir: "build-dir/factor/factor.com"
[ "factor/" prepend-path ] dip prepend-path [ "factor/" prepend-path ] dip prepend-path
] [ ] [
@ -35,8 +35,9 @@ M:: macosx sign-factor-app ( -- )
"codesign" "--force" "--sign" "codesign" "--force" "--sign"
"Developer ID Application" "Developer ID Application"
cert-path cert-path
"Factor.app/" make-factor-path }
} short-running-process ; "Factor.app/" make-factor-path suffix
short-running-process ;
M:: windows sign-factor-app ( -- ) M:: windows sign-factor-app ( -- )
{ "factor.com" "factor.exe" } [ { "factor.com" "factor.exe" } [