From 19bf287d671a637d6c8e898b688d56d3c0366b3a Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 15 Jul 2015 14:31:38 -0700 Subject: [PATCH] mason.release.archive: use code-array literal --- extra/mason/release/archive/archive.factor | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/extra/mason/release/archive/archive.factor b/extra/mason/release/archive/archive.factor index 5932771900..7b18186fcd 100644 --- a/extra/mason/release/archive/archive.factor +++ b/extra/mason/release/archive/archive.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors combinators io.directories -io.directories.hierarchy io.files io.pathnames kernel locals -make mason.common mason.config mason.platform namespaces +io.directories.hierarchy io.files io.pathnames kernel literals +locals make mason.common mason.config mason.platform namespaces sequences system words ; IN: mason.release.archive @@ -38,13 +38,12 @@ IN: mason.release.archive : sign-factor.app? ( -- ? ) cert-path exists? ; :: sign-factor.app ( -- ) - { + ${ "codesign" "--force" "--sign" "Developer ID Application" - } - cert-path suffix - "Factor.app/" suffix - short-running-process ; + cert-path + "Factor.app/" + } short-running-process ; ! Make the .dmg : make-macosx-archive ( archive-name -- )