Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
117dcff4
Commit
117dcff4
authored
Dec 20, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collectstatic always
parent
7243afd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
detect
bin/detect
+1
-8
collectstatic
bin/steps/collectstatic
+0
-2
No files found.
bin/detect
View file @
117dcff4
...
@@ -19,11 +19,4 @@ if [ ! -f $BUILD_DIR/requirements.txt ] && [ ! -f $BUILD_DIR/setup.py ]; then
...
@@ -19,11 +19,4 @@ if [ ! -f $BUILD_DIR/requirements.txt ] && [ ! -f $BUILD_DIR/setup.py ]; then
exit
1
exit
1
fi
fi
# `Python/Django` if `**/settings.py` is present.
echo
Python
#
# Otherwise, `Python`.
MANAGE_FILE
=
$(
find
$BUILD_DIR
/.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
[
-n
"
$MANAGE_FILE
"
]
&&
grep
-Fiq
"django"
$MANAGE_FILE
&&
echo
Python/Django
||
echo
Python
bin/steps/
django
→
bin/steps/
collectstatic
View file @
117dcff4
...
@@ -6,8 +6,6 @@ indent() {
...
@@ -6,8 +6,6 @@ indent() {
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
}
}
SETTINGS_FILE
=
$(
find
.
-maxdepth
3
-type
f
-name
'settings.py'
|
head
-1
)
PROJECT
=
$(
dirname
$SETTINGS_FILE
)
MANAGE_FILE
=
$(
find
.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
MANAGE_FILE
=
$(
find
.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
MANAGE_FILE
=
${
MANAGE_FILE
:2
}
MANAGE_FILE
=
${
MANAGE_FILE
:2
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment