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
4ab33588
Commit
4ab33588
authored
Jan 03, 2013
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better
parent
4ded9889
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
compile
bin/compile
+0
-1
release
bin/release
+3
-3
No files found.
bin/compile
View file @
4ab33588
...
@@ -103,7 +103,6 @@ fi
...
@@ -103,7 +103,6 @@ fi
# ### The Cache
# ### The Cache
mkdir
-p
$CACHE_DIR
mkdir
-p
$CACHE_DIR
[
!
"
$(
ls
-A
$CACHE_DIR
)
"
]
# Purge "old-style" virtualenvs.
# Purge "old-style" virtualenvs.
[
-d
$CACHE_DIR
/
$LEGACY_TRIGGER
]
&&
rm
-fr
$CACHE_DIR
/.heroku/bin
$CACHE_DIR
/.heroku/lib
$CACHE_DIR
/.heroku/include
[
-d
$CACHE_DIR
/
$LEGACY_TRIGGER
]
&&
rm
-fr
$CACHE_DIR
/.heroku/bin
$CACHE_DIR
/.heroku/lib
$CACHE_DIR
/.heroku/include
...
...
bin/release
View file @
4ab33588
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
BUILD_DIR
=
$1
BUILD_DIR
=
$1
NAME
=
$(
$BIN_DIR
/detect
$BUILD_DIR
)
||
exit
1
MANAGE_FILE
=
$(
cd
$BUILD_DIR
&&
find
.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
MANAGE_FILE
=
${
MANAGE_FILE
:2
}
cat
<<
EOF
cat
<<
EOF
---
---
...
@@ -11,8 +13,6 @@ config_vars:
...
@@ -11,8 +13,6 @@ config_vars:
EOF
EOF
MANAGE_FILE
=
$(
cd
$BUILD_DIR
&&
find
.
-maxdepth
3
-type
f
-name
'manage.py'
|
head
-1
)
MANAGE_FILE
=
${
MANAGE_FILE
:2
}
if
[[
$MANAGE_FILE
]]
;
then
if
[[
$MANAGE_FILE
]]
;
then
cat
<<
EOF
cat
<<
EOF
...
...
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