all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) #client/mTaskSymbols.h
mkdir -p miTask-www
- find ~/projects/iTasks-SDK/Libraries -path '*/WebPublic/*' -not -path '*/CodeMirror/*' -execdir cp -nR {} "$$PWD"/miTask-www/ \;
-
+ find ~/projects/iTasks-SDK/Libraries -path '*/WebPublic' -execdir sh -c 'cp -nvR WebPublic/* '"$$PWD"/miTask-www/ \;
CleanSerial/Clean\ System\ Files/TTY.o:
make -C CleanSerial
import Devices.mTaskDevice
import iTasks._Framework.Serialization
+countTo5 :: Main (ByteCode () Stmt)
+countTo5 = sds \x=0 In {main =
+ x =. x +. lit 1 :.
+ pub x :.
+ IF ( x >. lit 5) (
+ retrn x
+ ) (
+ noOp
+ )}
+
count :: Main (ByteCode () Stmt)
count = sds \x=0 In {main = x =. x +. lit 1 :. pub x :. noOp}
,("blink", ledSelection @ blink)
,("blinkShare", treturn blinkShare)
,("count", treturn count)
+ ,("countTo5", treturn countTo5)
]
[ viewmTasks @! ()
, whileUnchanged sdsStore manageShares
, whileUnchanged deviceStore $ manageDevices process
- ] <<@ ApplyLayout (sequenceLayouts
+ ] <<@ ApplyLayout (foldl1 sequenceLayouts
[arrangeWithSideBar 0 LeftSide 260 True
,arrangeSplit Vertical True])
where