Force `mv` in mix spec.
parent
bf144eb2dc
commit
e72316391a
|
@ -46,10 +46,9 @@ cp -r template/* "$BUILD"
|
||||||
# subdirectory to avoid interaction and potential overwriting of files.
|
# subdirectory to avoid interaction and potential overwriting of files.
|
||||||
nix develop "$BUILD" --command bash -c "mix new $BUILD/project --app '$APP'"
|
nix develop "$BUILD" --command bash -c "mix new $BUILD/project --app '$APP'"
|
||||||
|
|
||||||
# Can now copy over all the generated files into the intermediate build
|
# Copy the generated files into the intermediate build directory. Also overwrite
|
||||||
# directory. Also overwrite the generated README in favor of that already in
|
# the generated README in favor of that defined in our template.
|
||||||
# our template.
|
mv -f "$BUILD"/project/* "$BUILD"
|
||||||
mv "$BUILD"/project/* "$BUILD"
|
|
||||||
rmdir "$BUILD"/project
|
rmdir "$BUILD"/project
|
||||||
cp template/README.md "$BUILD"
|
cp template/README.md "$BUILD"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue