aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-12-25 09:22:38 -0400
committerEduardo Julian2020-12-25 09:22:38 -0400
commit4ca397765805eda5ddee393901ed3a02001a960a (patch)
tree2ab184a1a4e244f3a69e86c8a7bb3ad49c22b4a3 /stdlib/source/program/aedifex.lux
parentd29e091e98dabb8dfcf816899ada480ecbf7e357 (diff)
Replaced kebab-case with snake_case for naming convention.
Diffstat (limited to 'stdlib/source/program/aedifex.lux')
-rw-r--r--stdlib/source/program/aedifex.lux20
1 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux
index 4e78183f1..67c4e89f3 100644
--- a/stdlib/source/program/aedifex.lux
+++ b/stdlib/source/program/aedifex.lux
@@ -62,10 +62,10 @@
(def: repositories
(-> /.Profile (List (Repository Promise)))
(|>> (get@ #/.repositories)
- set.to-list
+ set.to_list
(list\map (|>> (/repository.remote #.None) /repository.async))))
-(def: (with-dependencies program console command profile)
+(def: (with_dependencies program console command profile)
(All [a]
(-> (Program Promise) (Console Promise)
(-> (Console Promise) (Program Promise) (file.System Promise) (Shell Promise) Resolution (Command a))
@@ -74,7 +74,7 @@
[resolution (/command/deps.do! program console (file.async file.default) (..repositories profile) profile)]
((command console program (file.async file.default) (shell.async shell.default) resolution) profile)))
-(exception: (cannot-find-repository {repository Text}
+(exception: (cannot_find_repository {repository Text}
{options (Dictionary Text Address)})
(exception.report
["Repository" (%.text repository)]
@@ -146,7 +146,7 @@
(#/cli.Deploy repository identity)
(..command
(case [(get@ #/.identity profile)
- (dictionary.get repository (get@ #/.deploy-repositories profile))]
+ (dictionary.get repository (get@ #/.deploy_repositories profile))]
[(#.Some artifact) (#.Some repository)]
(/command/deploy.do! console
(/repository.async (/repository.remote (#.Some identity) repository))
@@ -155,10 +155,10 @@
profile)
[#.None _]
- (promise\wrap (exception.throw /.no-identity []))
+ (promise\wrap (exception.throw /.no_identity []))
[_ #.None]
- (promise\wrap (exception.throw ..cannot-find-repository [repository (get@ #/.deploy-repositories profile)]))))
+ (promise\wrap (exception.throw ..cannot_find_repository [repository (get@ #/.deploy_repositories profile)]))))
#/cli.Dependencies
(..command
@@ -167,9 +167,9 @@
(#/cli.Compilation compilation)
(case compilation
#/cli.Build (..command
- (..with-dependencies program console /command/build.do! profile))
+ (..with_dependencies program console /command/build.do! profile))
#/cli.Test (..command
- (..with-dependencies program console /command/test.do! profile)))
+ (..with_dependencies program console /command/test.do! profile)))
(#/cli.Auto auto)
(do !
@@ -181,6 +181,6 @@
(#try.Success watcher)
(..command
(case auto
- #/cli.Build (..with-dependencies program console (/command/auto.do! watcher /command/build.do!) profile)
- #/cli.Test (..with-dependencies program console (/command/auto.do! watcher /command/test.do!) profile)))))))
+ #/cli.Build (..with_dependencies program console (/command/auto.do! watcher /command/build.do!) profile)
+ #/cli.Test (..with_dependencies program console (/command/auto.do! watcher /command/test.do!) profile)))))))
))))))