aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program/aedifex/command/deploy')
-rw-r--r--stdlib/source/program/aedifex/command/deploy/release.lux30
-rw-r--r--stdlib/source/program/aedifex/command/deploy/snapshot.lux8
2 files changed, 19 insertions, 19 deletions
diff --git a/stdlib/source/program/aedifex/command/deploy/release.lux b/stdlib/source/program/aedifex/command/deploy/release.lux
index eb0e4d3ec..c159555b9 100644
--- a/stdlib/source/program/aedifex/command/deploy/release.lux
+++ b/stdlib/source/program/aedifex/command/deploy/release.lux
@@ -70,7 +70,7 @@
(def windows?
(IO (Try Bit))
- (at (try.with io.monad) each
+ (of (try.with io.monad) each
(|>> java/lang/String::toLowerCase ffi.of_string (text.starts_with? "windows"))
(java/lang/System::getProperty (ffi.as_string "os.name"))))
@@ -118,9 +118,9 @@
(-> (Environment Async) (Repository Async) (file.System Async) Artifact (Async (Try Any)))
(do (try.with async.monad)
[.let [$artifact (////artifact.uri (the ////artifact.#version artifact) artifact)]
- _ (at local upload (..jar $artifact) ..dummy_jar)
- _ (at local upload (..javadoc $artifact) ..dummy_jar)
- _ (at local upload (..sources $artifact) ..dummy_jar)]
+ _ (of local upload (..jar $artifact) ..dummy_jar)
+ _ (of local upload (..javadoc $artifact) ..dummy_jar)
+ _ (of local upload (..sources $artifact) ..dummy_jar)]
(in [])))
(def (signed it)
@@ -130,8 +130,8 @@
(def (release_unsigned_artifact! local remote uri)
(-> (Repository Async) (Repository Async) Text (Async (Try Binary)))
(do [! ////action.monad]
- [it (at local download uri)
- _ (at remote upload uri it)]
+ [it (of local download uri)
+ _ (of remote upload uri it)]
(in it)))
(def (release_signed_artifact! local remote [artifact signature])
@@ -140,14 +140,14 @@
[it (..release_unsigned_artifact! local remote artifact)
_ (|> it
////hash.md5
- (at ////hash.md5_codec encoded)
- (at utf8.codec encoded)
- (at remote upload (..md5 artifact)))
+ (of ////hash.md5_codec encoded)
+ (of utf8.codec encoded)
+ (of remote upload (..md5 artifact)))
_ (|> it
////hash.sha1
- (at ////hash.sha1_codec encoded)
- (at utf8.codec encoded)
- (at remote upload (..sha1 artifact)))
+ (of ////hash.sha1_codec encoded)
+ (of utf8.codec encoded)
+ (of remote upload (..sha1 artifact)))
_ (..release_unsigned_artifact! local remote signature)]
(in [])))
@@ -158,16 +158,16 @@
_ (install_dummies! environment local fs artifact)
.let [@root (////repository/local.root environment fs)
$bundle (////artifact.bundle (the ////artifact.#version artifact) artifact)
- / (at fs separator)
+ / (of fs separator)
@local (%.format @root / $bundle)]
windows? (async.future ..windows?)
process (is (Async (Try (shell.Process Async)))
- (at shell execute [environment.empty @local
+ (of shell execute [environment.empty @local
(if windows?
["cmd" (list "/c" "for %file in (.\*) do gpg.exe -ab %file")]
["sh" (list "-c" "for file in *.*; do gpg -ab $file; done")])]))
exit (is (Async (Try shell.Exit))
- (at process await []))
+ (of process await []))
.let [$artifact (////artifact.uri (the ////artifact.#version artifact) artifact)]
_ (monad.each ! (release_signed_artifact! local remote)
(list (..signed (..pom $artifact))
diff --git a/stdlib/source/program/aedifex/command/deploy/snapshot.lux b/stdlib/source/program/aedifex/command/deploy/snapshot.lux
index bd253bfcd..932d4885c 100644
--- a/stdlib/source/program/aedifex/command/deploy/snapshot.lux
+++ b/stdlib/source/program/aedifex/command/deploy/snapshot.lux
@@ -52,14 +52,14 @@
(the /.#sources)
set.list
(export.library fs)
- (at ! each (binary.result tar.format)))
- pom (at async.monad in (////pom.write profile))
+ (of ! each (binary.result tar.format)))
+ pom (of async.monad in (////pom.write profile))
_ (////dependency/deployment.one
remote
[artifact ////artifact/type.lux_library]
(let [pom_data (|> pom
- (at xml.codec encoded)
- (at utf8.codec encoded))]
+ (of xml.codec encoded)
+ (of utf8.codec encoded))]
[////package.#origin {////repository/origin.#Remote ""}
////package.#library [library
(////dependency/status.verified library)]