-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add devel shell wrapper and git-add script
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# Vars: handler and command | ||
# | ||
|
||
DEVEL_SH_HANDLER=$1 | ||
DEVEL_SH_COMMAND=$2 | ||
|
||
if [ ! -n "$DEVEL_SH_HANDLER" ] | ||
then | ||
echo "Enter handler:" | ||
read DEVEL_SH_HANDLER | ||
fi | ||
|
||
if [ ! -n "$DEVEL_SH_COMMAND" ] | ||
then | ||
echo "Enter command:" | ||
read DEVEL_SH_COMMAND | ||
fi | ||
|
||
# | ||
# Path | ||
# | ||
DEVEL_SH_PATH="./shell/devel/$DEVEL_SH_HANDLER/$DEVEL_SH_COMMAND.sh" | ||
|
||
if [ ! -f $DEVEL_SH_PATH ] | ||
then | ||
echo "ERROR: Handler or command doesn't exist! ($DEVEL_SH_PATH)" | ||
exit | ||
fi | ||
|
||
# | ||
# Source the include to use current shell | ||
# | ||
. $DEVEL_SH_PATH |
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,16 @@ | ||
#!/bin/sh | ||
|
||
git add -f app/code/community/Dhmedia/Devel/ | ||
git add -f app/code/local/Mage/Core/Block/Template.php | ||
git add -f app/design/frontend/default/default/template/devel/ | ||
git add -f app/design/frontend/default/default/layout/devel/ | ||
git add -f app/etc/modules/Dhmedia_Devel.xml | ||
git add -f js/codemirror/ | ||
git add -f js/devel/ | ||
git add -f lib/krumo/ | ||
git add -f js/devel/ | ||
git add -f shell/devel/ | ||
git add -f skin/frontend/default/default/devel/ | ||
git add -f .gitignore | ||
git add -f devel.sh | ||
git status |