dfinity / examples

Example applications, microservices, and code samples for the Internet Computer
https://dfinity.org
Apache License 2.0
537 stars 362 forks source link

chore(FI-1222): Add symlink to fix rust-defi tests #730

Closed mbjorkqvist closed 7 months ago

mbjorkqvist commented 7 months ago

Add symlink rust/defi/src/frontend/declarations -> ../declarations to fix the rust-defi tests.

mbjorkqvist commented 7 months ago

For the motoko-defi tests, the declarations directory is placed in motoko/defi/src/frontend, whereas for the rust-defi tests, the directory ends up in rust/defi/src. Most of the files are the same for both tests (symlinks from a lot of files and directories in the rust/defi directory to ../../motoko/defi), and I couldn't figure out the reason for this difference.