Skip to content
Snippets Groups Projects
Commit d1f5bca4 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

Merge branch 'bugfix' into 'master'

Do not exit with fail status when trying to rm non-existing files



See merge request !15
parents 1f1c64ff 70a1c401
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ portal-backend:
- cp -r $(pwd)/config/ $(pwd)/src/docker/run/config/
- cp -r $(pwd)/target/ $(pwd)/src/docker/run/target/
post:
- rm -r $(pwd)/src/docker/run/target/
- rm -r $(pwd)/src/docker/run/config/
- rm -rf $(pwd)/src/docker/run/target/
- rm -rf $(pwd)/src/docker/run/config/
- echo 'Finished building portal-backend'
test:
- tests.sh
\ No newline at end of file
#!/usr/bin/env bash
./halt.sh
sudo rm -r ./.m2/
sudo rm -r ./target/
sudo rm -r ./pgdata/
\ No newline at end of file
sudo rm -rf ./.m2/
sudo rm -rf ./target/
sudo rm -rf ./pgdata/
\ No newline at end of file
#!/usr/bin/env bash
echo 'Removing old target folder...'
rm -r target/
rm -rf target/
echo 'Packaging...'
mvn package
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment