Commit d8bf633b authored by Michael Hanus 's avatar Michael Hanus

Dependency to keydb added

parent 4c58598a
......@@ -26,12 +26,12 @@ module System.Spicey (
import Char (isSpace,isDigit)
import Global
import KeyDatabaseSQLite
import ReadNumeric
import ReadShowTerm(readsQTerm)
import System
import Time
import Database.KeyDatabaseSQLite
import HTML.Base
import HTML.Styles.Bootstrap3
import WUI
......
......@@ -5,8 +5,9 @@
"synopsis": "Web application 'XXXPKGNAMEXXX' generated by Spicey",
"category": [ "Web" ],
"dependencies": {
"html": ">= 1.1.0",
"wui" : ">= 1.1.0"
"keydb": ">= 1.0.0",
"html" : ">= 1.1.0",
"wui" : ">= 1.1.0"
},
"compilerCompatibility": {
"pakcs": ">= 1.14.0, < 2.0.0",
......
......@@ -27,7 +27,7 @@ generateControllersForEntity erdname allEntities
CurryProg
(controllerModuleName ename)
-- imports:
[ spiceyModule, "KeyDatabaseSQLite", "HTML.Base", "Time"
[ spiceyModule, "Database.KeyDatabaseSQLite", "HTML.Base", "Time"
, erdname, viewModuleName ename
, "Maybe", sessionInfoModule, authorizationModule, enauthModName
, "Config.UserProcesses",
......
......@@ -19,9 +19,10 @@ upperFirst (y:ys) = (toUpper y) : ys
upperFirst [] = [] -- this case should not occur, but one never knows...
------------------------------------------------------------------------
--- Converts a string into a qualified name of the module "KeyDatabaseSQLite".
--- Converts a string into a qualified name of the module
--- "Database.KeyDatabaseSQLite".
db :: String -> QName
db f = ("KeyDatabaseSQLite", f)
db f = ("Database.KeyDatabaseSQLite", f)
--- Converts a string into a qualified name of the module "HTML.Base".
html :: String -> QName
......
......@@ -16,7 +16,7 @@ import Spicey.Scaffolding
systemBanner :: String
systemBanner =
let bannerText = "Spicey Web Framework (Version " ++ packageVersion ++
" of 06/10/17)"
" of 11/10/17)"
bannerLine = take (length bannerText) (repeat '-')
in bannerLine ++ "\n" ++ bannerText ++ "\n" ++ bannerLine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment