mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 09:14:04 +00:00
Fix new-app
This commit is contained in:
parent
11715758f9
commit
0f74b9b47e
@ -60,7 +60,7 @@ def get_app(app, git_url, branch=None, bench='.', build_asset_files=True):
|
|||||||
|
|
||||||
def new_app(app, bench='.'):
|
def new_app(app, bench='.'):
|
||||||
logger.info('creating new app {}'.format(app))
|
logger.info('creating new app {}'.format(app))
|
||||||
apps = os.path.join(bench, 'apps')
|
apps = os.path.abspath(os.path.join(bench, 'apps'))
|
||||||
if FRAPPE_VERSION == 4:
|
if FRAPPE_VERSION == 4:
|
||||||
exec_cmd("{frappe} --make_app {apps} {app}".format(frappe=get_frappe(bench=bench),
|
exec_cmd("{frappe} --make_app {apps} {app}".format(frappe=get_frappe(bench=bench),
|
||||||
apps=apps, app=app))
|
apps=apps, app=app))
|
||||||
|
Loading…
Reference in New Issue
Block a user