summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-09-15 07:57:07 -0400
committerAndrew Cady <d@jerkface.net>2019-09-15 07:57:07 -0400
commit0cc2967d27d9831a9e62933a3db2b829d3cd0249 (patch)
treed11dd5057a9afa98220207093794f33e3407f429
parent2165741a249ce1dc3df5fdb8cae6f0c5522588f7 (diff)
output the new stack.yaml formatHEADmaster
Putting extra-deps in packages: is no longer supported. Per http://docs.haskellstack.org/en/stable/yaml_configuration/#packages : NOTE Beginning with Stack 1.11, Stack has moved over to Pantry for managing extra-deps, and has removed some legacy syntax for specifying dependencies in packages.
-rwxr-xr-xyamlremote12
1 files changed, 4 insertions, 8 deletions
diff --git a/yamlremote b/yamlremote
index c102003..7c7c38c 100755
--- a/yamlremote
+++ b/yamlremote
@@ -1,5 +1,4 @@
1#!/bin/sh 1#!/bin/sh
2extra_dep=y
3keep_orig_line=y 2keep_orig_line=y
4 3
5main() 4main()
@@ -51,14 +50,11 @@ output()
51 cat_ <<EOF 50 cat_ <<EOF
52${keep_orig_line:+ 51${keep_orig_line:+
53# $orig_line} 52# $orig_line}
54- location: 53- git: $git_url
55 git: $git_url 54 commit: $git_hash
56 commit: $git_hash
57${subdir:+ 55${subdir:+
58 subdirs: 56 subdirs:
59 - $subdir} 57 - $subdir}
60${extra_dep:+
61 extra-dep: true}
62EOF 58EOF
63} 59}
64 60