Commit f9a55984 authored by Pietro Albini's avatar Pietro Albini

Update branch building process

parent 5b05d9d4
......@@ -72,12 +72,12 @@ class Branch:
"cd %s && git fetch" % self.manager.git_dir,
"git --git-dir=%s/.git --work-tree=%s checkout -f %s" %
(self.manager.git_dir, self.manager.build_dir, self.name),
"%s/scripts/build.sh" % self.manager.build_dir,
"cd %s && invoke build" % self.manager.build_dir,
"virtualenv %s/%s" % (self.manager.envs_dir, self.name),
"cd %s && git rev-parse HEAD > %s/%s/commit" %
(self.manager.build_dir, self.manager.envs_dir, self.name),
"%s/%s/bin/pip install %s/out.tar.gz" % (self.manager.envs_dir,
self.name, self.manager.build_dir),
"%s/%s/bin/pip install %s/build/packages/*.whl" %
(self.manager.envs_dir, self.name, self.manager.build_dir),
("ln -s %s/%s/lib/python3.%s/site-packages/uitwww/static "
"%s/%s/static" % (self.manager.envs_dir, self.name,
sys.version_info[1], self.manager.public_dir, self.name)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment