Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
814e91da
Commit
814e91da
authored
Oct 07, 2012
by
Viktor Horvath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mioga compiles! A post-make-hook saves the "var/lib/mioga2"
directory from the build path to the "location".
parent
cc2c72ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
software/mioga/mioga-postmakehook.py
software/mioga/mioga-postmakehook.py
+11
-0
No files found.
software/mioga/mioga-postmakehook.py
0 → 100644
View file @
814e91da
# import fnmatch
import
os
import
shutil
# import pprint
def
post_make_hook
(
options
,
buildout
):
location
=
options
[
'location'
]
print
"Mioga - postmakehook"
print
"We are currently in"
,
os
.
getcwd
()
shutil
.
move
(
"var"
,
location
)
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