Skip to content
Snippets Groups Projects
Commit d5104db8 authored by Renaud Le Gac's avatar Renaud Le Gac
Browse files

Set the configuration parameter defining the application directory

containing scripts.
Bug fixed dbui-debug.js and dbui-min.js are not store in git anymore.
parent f91119c7
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,8 @@ def git():
sys.exit(1)
# Commit the new release in git an tag it
print 'git add', JSBASE, CHANGELOG, JSLIBDEBUG, JSLIBMIN
cmd = ["git", "add", JSBASE, CHANGELOG, JSLIBDEBUG, JSLIBMIN]
print 'git add', JSBASE, CHANGELOG
cmd = ["git", "add", JSBASE, CHANGELOG]
subprocess.call(cmd)
print 'git commit'
......
......@@ -14,12 +14,12 @@ from gluon.tools import PluginManager
# plugin configuration parameters
#
#-------------------------------------------------------------------------------
#plugins = PluginManager()
#plugins.dbui.app_css = None # relative path, i.e static/myapp.css or dir
#plugins.dbui.app_js_dir = None # relative directory static/src
#plugins.dbui.app_libmin = None # relative path static/myapp-min.js or dir
#plugins.dbui.app_script = None # relative path static/myapp.js
#plugins.dbui.app_script_dir = None # relative directory static/scripts
plugins = PluginManager()
#plugins.dbui.app_css = None # relative path, i.e static/myapp.css or dir
#plugins.dbui.app_js_dir = None # relative directory static/src
#plugins.dbui.app_libmin = None # relative path static/myapp-min.js or dir
#plugins.dbui.app_script = None # relative path static/myapp.js
plugins.dbui.app_script_dir = 'static/scripts' # relative directory static/scripts
#-------------------------------------------------------------------------------
#
......
......@@ -22,7 +22,7 @@ dbui = local_import('plugin_dbui')
plugins = PluginManager('dbui',
app_css=None, # relative path static/myapp.css or dir
app_js_dir=None, # relative directroy static/src
app_js_dir=None, # relative directory static/src
app_libmin=None, # relative path static/myapp-min.js or dir
app_script=None, # relative path static/myapp.js
app_script_dir=None, # relative directory static/scripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment