-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from seanbuscay/little-enhancements
Add install cleanup scripts. Add php error logging. Return node integration.
- Loading branch information
Showing
8 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ node_modules | |
web | ||
bin | ||
npm-debug.log | ||
logs | ||
.atom-build.yml | ||
web_backup* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
echo 'Wiping install.' | ||
rm -R bin || echo 'Did not remove the bin directory.' | ||
|
||
rm -R logs || echo 'Did not remove the logs directory.' | ||
|
||
rm npm-debug.log || echo 'Did not remove the npm-debug.log.' | ||
|
||
rm -R node_modules || echo 'Did not remove node_modules directory.' | ||
|
||
echo 'The script needs sudo permission to move the web directory.' | ||
echo 'You may need to enter your password below.' | ||
|
||
sudo mv web/ "web_backup_$(date +%Y_%m_%d_%H:%M:%S)/" || true | ||
|
||
echo '' | ||
echo 'Wipe complete.' | ||
echo '' | ||
echo 'If you receieved a message that a file or directory was not removed,' | ||
echo 'it may have already been removed or you will need to delete it manually.' |