At the moment you can specify a bundle file at any given path but if it doesn't have an arch folder by its side. then the resulting bundle source directory gains a broken symlink instead of a symlink to an arch folder.
|
symlink_force(os.path.dirname(bundle.file()) + "/arch", src_dir + "/arch") |
If an --arch-dir could be provided to ecbundle create, this would help solve that issue.
This issue arises later when building because ecbundle build looks for archs in the folders src_dir + "/arch" and getcwd()
|
arch_dirs = [src_dir + "/arch", getcwd()] |
So if --arch-dir could be passed to ecbundle build and added to the arch_dirs list this would also solve the issue
At the moment you can specify a bundle file at any given path but if it doesn't have an arch folder by its side. then the resulting bundle source directory gains a broken symlink instead of a symlink to an arch folder.
ecbundle/ecbundle/create.py
Line 71 in 412dfa1
If an --arch-dir could be provided to ecbundle create, this would help solve that issue.
This issue arises later when building because ecbundle build looks for archs in the folders
src_dir + "/arch"andgetcwd()ecbundle/ecbundle/build.py
Line 396 in 412dfa1
So if --arch-dir could be passed to ecbundle build and added to the arch_dirs list this would also solve the issue