Skip to content

Firefly III: a personal finances manager

Extended cleanup scripts.

James Coleaf28e6e7b95d
diff --git a/ide-helper-reset.sh b/ide-helper-reset.sh
index 6d9afd2fd9..8bee4eada8 100755
--- a/ide-helper-reset.sh
+++ b/ide-helper-reset.sh
@@ -1,25 +1,4 @@
#!/bin/bash
composer self-update
php artisan migrate:refresh --seed --env=local
-rm -f ./app/storage/debugbar/*.json
-rm -f ./app/storage/logs/laravel.log
-rm -f ./app/storage/meta/services.json
-
-for i in `seq 0 9`;
-do
- rm -f ./app/storage/views/$i*
-done
-
-rm -f ./app/storage/views/a*
-rm -f ./app/storage/views/b*
-rm -f ./app/storage/views/c*
-rm -f ./app/storage/views/d*
-rm -f ./app/storage/views/e*
-rm -f ./app/storage/views/f*
-
-composer update
-php artisan clear-compiled --env=local
-php artisan ide-helper:generate --env=local
-php artisan ide-helper:models --env=local --write
-php artisan optimize --env=local
-php artisan dump-autoload --env=local
+./ide-helper.sh
\ No newline at end of file
diff --git a/ide-helper.sh b/ide-helper.sh
index fdd0c3c2c9..00a79c0111 100755
--- a/ide-helper.sh
+++ b/ide-helper.sh
@@ -1,6 +1,8 @@
#!/bin/bash
#composer self-update
+
+rm -f ./app/storage/firefly-iii-import-*.json
rm -f ./app/storage/debugbar/*.json
rm -f ./app/storage/logs/laravel.log
rm -f ./app/storage/meta/services.json