[Wheat-cvs] r1/root/applications farm.ws,1.63,1.64
Status: Pre-Alpha
Brought to you by:
mark_lentczner
From: Kragen S. <kr...@us...> - 2005-04-23 00:51:03
|
Update of /cvsroot/wheat/r1/root/applications In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27215/root/applications Modified Files: farm.ws Log Message: Removed location dependencies and extraneous semicolons in farm.ws. Index: farm.ws =================================================================== RCS file: /cvsroot/wheat/r1/root/applications/farm.ws,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- farm.ws 3 Apr 2005 07:45:18 -0000 1.63 +++ farm.ws 23 Apr 2005 00:50:54 -0000 1.64 @@ -1,30 +1,30 @@ wheat(version: 1) -template: ->'/root/applications/farm.d/farm.html'; +template: ->'/root/applications/farm.d/farm.html' expander: {:'/applications/farm/farm-expander': tt-error: false } farm-expander: {:'/library/render/expander': tt-root-based-href(): - { #attribute("href", prefix: "/root/applications/farm.d/"); } [...1419 lines suppressed...] #assert-error("applications/farm/project-exists(farm)", - $/applications/farm.create-project("farm")); + ($..).create-project("farm")) `` can't create a project with name of existing package #assert-error("applications/farm/bad-project-name(prototype)", - $/applications/farm.create-project( - "prototype", \#sample-dev, \#sample-app)); + ($..).create-project("prototype", \#sample-dev, \#sample-app)) `` can't create a project with the name of common protocol - #sample-dev.remove-member("widget"); + #sample-dev.remove-member("widget") - #assert("project removed", ~proj-path.exists()); + #assert("project removed", ~proj-path.exists()) } -- instance -- |