Commit 8430e3e9 authored by Thomas van Noort's avatar Thomas van Noort

Changed the capitals of the example modules and moved the environment files to a separate directory

git-svn-id: https://svn.cs.ru.nl/repos/clean-platform/trunk@28 2afc29ad-3112-4e41-907a-9359c7e6e986
parent 0ad9f38b
module iplookup
module IPLookup
import IP, Maybe
......
......@@ -2,7 +2,7 @@ Version: 1.4
Global
Built: True
Target: Clean Platform
Exec: {Project}\iplookup.exe
Exec: {Project}\IPLookup.exe
CodeGen
CheckStacks: False
CheckIndexes: True
......@@ -40,7 +40,7 @@ Global
Precompile:
Postlink:
MainModule
Name: iplookup
Name: IPLookup
Dir: {Project}
Compiler
NeverMemoryProfile: False
......@@ -372,7 +372,7 @@ OtherModules
IclOpen: False
Static
Mods
Path: {Project}\iplookup.icl
Path: {Project}\IPLookup.icl
Path: {Application}\Libraries\StdEnv\StdFunc.icl
Path: {Application}\Libraries\StdEnv\_SystemEnum.icl
Path: {Application}\Libraries\StdEnv\StdEnum.icl
......@@ -396,7 +396,7 @@ Static
Path: {Application}\Libraries\StdEnv\Clean System Files\_startup1.o
Path: {Application}\Libraries\StdEnv\Clean System Files\_startup2.o
Path: {Application}\Libraries\StdEnv\Clean System Files\_system.o
Path: {Project}\Clean System Files\iplookup.o
Path: {Project}\Clean System Files\IPLookup.o
Path: {Application}\CleanPlatform\src\libraries\Network\OS-Windows\Clean System Files\IP.o
Path: {Application}\Libraries\StdEnv\Clean System Files\StdString.o
Path: {Application}\Libraries\StdEnv\Clean System Files\StdOverloaded.o
......
all:
clm -I `cat ../libraries/cplibs.txt` -nt -nr webdemo -o webdemo
clm -I `cat ../env/cplibs.txt` -nt -nr WebDemo -o WebDemo
module webdemo
module WebDemo
/**
* Simple CGI application built solely on clean-platform libs
*/
......@@ -23,4 +23,4 @@ where
body name = BodyTag [] [H1Tag [] [Text "Hello ", Text name]]
Start :: *World -> *World
Start world = startCGI [] [(\_ -> True,helloPage)] world
Start world = startCGI [] [(const True, helloPage)] world
......@@ -2,6 +2,6 @@
echo "Setting up the Clean Platform library collection"
echo "==="
echo "Creating libraries/cplibs.txt..."
find libraries -type d | grep -v "Clean System Files" | grep -v "\.svn" | grep -v "OS-[Windows|MacOS]" | xargs printf "$PWD/%s:" | xargs printf "%s." > libraries/cplibs.txt
find libraries -type d | grep -v "Clean System Files" | grep -v "\.svn" | grep -v "OS-[Windows|MacOS]" | xargs printf "$PWD/%s:" | xargs printf "%s." > env/cplibs.txt
echo "==="
echo "You can now include the Clean platform libraries by adding -I \`cat libraries/cplibs.txt\` to your clm options."
echo "You can now include the Clean platform libraries by adding \"-I \`cat env/cplibs.txt\`\" to your clm options."
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