|
|
@@ -63,13 +63,13 @@ Vagrant.configure(2) do |config|
|
|
|
config.vm.provision :shell, privileged: true, inline: <<-EOF
|
|
|
set -xe
|
|
|
|
|
|
- echo -e "#!/bin/sh\n/home/#{developer}/target/debug/exa \"\\$*\"" > /usr/bin/exa
|
|
|
- echo -e "#!/bin/sh\n/home/#{developer}/target/release/exa \"\\$*\"" > /usr/bin/rexa
|
|
|
+ ln -sf /vagrant/devtools/dev-run-debug.sh /usr/bin/exa
|
|
|
+ ln -sf /vagrant/devtools/dev-run-release.sh /usr/bin/rexa
|
|
|
|
|
|
- echo -e "#!/bin/sh\ncargo build --manifest-path /vagrant/Cargo.toml" > /usr/bin/build-exa
|
|
|
+ echo -e "#!/bin/sh\ncargo build --manifest-path /vagrant/Cargo.toml \\$@" > /usr/bin/build-exa
|
|
|
ln -sf /usr/bin/build-exa /usr/bin/b
|
|
|
|
|
|
- echo -e "#!/bin/sh\ncargo test --manifest-path /vagrant/Cargo.toml --lib -- --quiet" > /usr/bin/test-exa
|
|
|
+ echo -e "#!/bin/sh\ncargo test --manifest-path /vagrant/Cargo.toml --lib \\$@ -- --quiet" > /usr/bin/test-exa
|
|
|
ln -sf /usr/bin/test-exa /usr/bin/t
|
|
|
|
|
|
echo -e "#!/bin/sh\n/vagrant/xtests/run.sh" > /usr/bin/run-xtests
|