cc6b11c95b
The virtual machine is provided by hashicorp (the company that makes vagrant) and is an Ubuntu Precise 64 The provisioning script that runs in the first boot of the machine will copy and setup a synchronize script so you don't have to run ./autogen.sh and ./configure every time to build in a different OS and you can also build and run on both (guest and host) at the same time. The ./pull_to_vagrant.sh script should be called at least once before building cyassl so you get all the changes from you host machine.
12 lines
403 B
Bash
Executable File
12 lines
403 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# synchronize without .git and .gitignore to avoid output files
|
|
rsync --exclude .git --exclude-from .gitignore -rvt /vagrant/ ~/cyassl/
|
|
|
|
# synchronize everything else needed.
|
|
rsync -rvt /vagrant/.git ~/cyassl/
|
|
rsync -rvt /vagrant/IDE ~/cyassl/
|
|
rsync -rvt /vagrant/mcapi ~/cyassl/
|
|
rsync -rvt /vagrant/mplabx ~/cyassl/
|
|
rsync -rvt /vagrant/configure.ac ~/cyassl/
|