Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
88d3751c
Commit
88d3751c
authored
Sep 02, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12217 from thyming/hacking-remove-pyc
Delete all compiled python files when running hacking/env-setup
parents
099d1797
cba4642d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
hacking/env-setup
+2
-0
hacking/env-setup.fish
+1
-0
No files found.
hacking/env-setup
View file @
88d3751c
...
@@ -57,8 +57,10 @@ fi
...
@@ -57,8 +57,10 @@ fi
cd "$ANSIBLE_HOME"
cd "$ANSIBLE_HOME"
if [ "$verbosity" = silent ] ; then
if [ "$verbosity" = silent ] ; then
gen_egg_info > /dev/null 2>&1
gen_egg_info > /dev/null 2>&1
find . -type f -name "*.pyc" -delete > /dev/null 2>&1
else
else
gen_egg_info
gen_egg_info
find . -type f -name "*.pyc" -delete
fi
fi
cd "$current_dir"
cd "$current_dir"
)
)
...
...
hacking/env-setup.fish
View file @
88d3751c
...
@@ -43,6 +43,7 @@ if test -e $PREFIX_PYTHONPATH/ansible*.egg-info
...
@@ -43,6 +43,7 @@ if test -e $PREFIX_PYTHONPATH/ansible*.egg-info
rm -r $PREFIX_PYTHONPATH/ansible*.egg-info
rm -r $PREFIX_PYTHONPATH/ansible*.egg-info
end
end
mv ansible*egg-info $PREFIX_PYTHONPATH
mv ansible*egg-info $PREFIX_PYTHONPATH
find . -type f -name "*.pyc" -delete
popd
popd
...
...
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