re-enable app-specific configuration

This commit is contained in:
Myk Melez 2015-01-21 16:26:16 -08:00
Родитель b6fd50d688
Коммит 60a0f672ae
2 изменённых файлов: 15 добавлений и 0 удалений

9
config/app.js Normal file
Просмотреть файл

@ -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/.