Browse Source

[minor] build after update

version-14
Anand Doshi 11 years ago
parent
commit
e2f9e78af8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      wnf.py

+ 6
- 0
wnf.py View File

@@ -258,6 +258,8 @@ def update(remote=None, branch=None, site=None):


# maybe there are new framework changes, any consequences? # maybe there are new framework changes, any consequences?
reload(webnotes) reload(webnotes)
if not site: build()


latest(site=site) latest(site=site)


@@ -307,6 +309,10 @@ def patch(patch_module, site=None, force=False):
@cmd @cmd
def update_all_sites(remote=None, branch=None, verbose=True): def update_all_sites(remote=None, branch=None, verbose=True):
pull(remote, branch) pull(remote, branch)
# maybe there are new framework changes, any consequences?
reload(webnotes)
build() build()
for site in get_sites(): for site in get_sites():
latest(site=site, verbose=verbose) latest(site=site, verbose=verbose)


Loading…
Cancel
Save