about summary refs log tree commit diff
path: root/src/etc/installer/pkg/Distribution.xml
diff options
context:
space:
mode:
authorEdward Yang <edward.yang6771@gmail.com>2017-05-29 21:44:09 -0500
committerEdward Yang <edward.yang6771@gmail.com>2017-05-29 21:50:23 -0500
commit7c362732dc49d7ab6d3fcf973922337dae53dd5c (patch)
tree8587917eccd3f2f202b82082ac0c779f15b05dcb /src/etc/installer/pkg/Distribution.xml
parenteeebfd667bd1524476229ecb910f9751405e85c7 (diff)
downloadrust-7c362732dc49d7ab6d3fcf973922337dae53dd5c.tar.gz
rust-7c362732dc49d7ab6d3fcf973922337dae53dd5c.zip
Add RLS to .pkg installer
Diffstat (limited to 'src/etc/installer/pkg/Distribution.xml')
-rw-r--r--src/etc/installer/pkg/Distribution.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/etc/installer/pkg/Distribution.xml b/src/etc/installer/pkg/Distribution.xml
index 79f99818ba3..fd09f7b0a67 100644
--- a/src/etc/installer/pkg/Distribution.xml
+++ b/src/etc/installer/pkg/Distribution.xml
@@ -16,6 +16,7 @@
     <line choice="rust-std"/>
 	<line choice="cargo"/>
 	<line choice="rust-docs"/>
+	<line choice="rls"/>
       </line>
       <line choice="uninstall" />
     </choices-outline>
@@ -61,10 +62,20 @@
 	    >
         <pkg-ref id="org.rust-lang.rust-docs"/>
     </choice>
+    <choice id="rls" visible="true"
+	    title="RLS" description="RLS, the Rust Language Server"
+	    selected="(!choices.uninstall.selected &amp;&amp; choices['rls'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
+        start_selected="false"
+	    >
+        <pkg-ref id="org.rust-lang.rls"/>
+        <pkg-ref id="org.rust-lang.rust-analysis"/>
+    </choice>
     <pkg-ref id="org.rust-lang.rustc" version="0" onConclusion="none">rustc.pkg</pkg-ref>
     <pkg-ref id="org.rust-lang.cargo" version="0" onConclusion="none">cargo.pkg</pkg-ref>
     <pkg-ref id="org.rust-lang.rust-docs" version="0" onConclusion="none">rust-docs.pkg</pkg-ref>
     <pkg-ref id="org.rust-lang.rust-std" version="0" onConclusion="none">rust-std.pkg</pkg-ref>
+    <pkg-ref id="org.rust-lang.rls" version="0" onConclusion="none">rls.pkg</pkg-ref>
+    <pkg-ref id="org.rust-lang.rust-analysis" version="0" onConclusion="none">rust-analysis.pkg</pkg-ref>
     <pkg-ref id="org.rust-lang.uninstall" version="0" onConclusion="none">uninstall.pkg</pkg-ref>
     <background file="rust-logo.png" mime-type="image/png"
                 alignment="bottomleft"/>