зеркало из https://github.com/mozilla/pluotsorbet.git
re-enable app-specific configuration
This commit is contained in:
Родитель
b6fd50d688
Коммит
60a0f672ae
|
@ -0,0 +1,9 @@
|
|||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
// Instead of being loaded directly, this is appended to config/midlet.js
|
||||
// by package.sh at `make app` build time, so it only applies when the app
|
||||
// is loaded as an open web app.
|
||||
|
||||
config.autosize = "1";
|
||||
config.logConsole = "web";
|
|
@ -31,6 +31,12 @@ cp -R classfile $PACKAGE_DIR/.
|
|||
# copy entire contents of libs dir
|
||||
cp -R libs $PACKAGE_DIR/.
|
||||
|
||||
# copy entire contents of config dir
|
||||
cp -R config $PACKAGE_DIR/.
|
||||
|
||||
# Merge app.js into a config file that gets loaded.
|
||||
cat $PACKAGE_DIR/config/app.js >> $PACKAGE_DIR/config/midlet.js && rm $PACKAGE_DIR/config/app.js
|
||||
|
||||
# copy entire contents of midp dir
|
||||
cp -R midp $PACKAGE_DIR/.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче