2013-09-29 00:21:18 +04:00
|
|
|
!:
|
2013-12-29 10:55:19 +04:00
|
|
|
:: /=main=/bin/update/hoon
|
2013-09-29 00:21:18 +04:00
|
|
|
::
|
|
|
|
=> .(-< `who=@p`-<)
|
2013-10-06 11:44:07 +04:00
|
|
|
|= [est=time eny=@uw]
|
2014-05-20 22:53:49 +04:00
|
|
|
|= gem=$|([germ ~] ~)
|
2013-10-06 11:44:07 +04:00
|
|
|
^- bowl
|
2013-12-30 02:27:44 +04:00
|
|
|
=+ wen=(scot %da (need (slaw %da +>-:/===))) :: heinous
|
2013-10-06 11:44:07 +04:00
|
|
|
?: =(~zod who) [~ ~]
|
|
|
|
=+ bos==+(bos=(sein who) ?.(=(bos who) bos ~zod))
|
|
|
|
=+ ^= syn ^- (list ,@tas)
|
|
|
|
[%main %arvo %try ~]
|
2013-09-29 00:21:18 +04:00
|
|
|
:_ ~
|
2013-10-06 11:44:07 +04:00
|
|
|
^- (list gift)
|
|
|
|
:- [%la %leaf "updating..."]
|
|
|
|
%+ turn syn
|
|
|
|
|= des=@tas
|
2013-12-29 10:58:54 +04:00
|
|
|
=+ der=((hard dome) .^(%cv /(scot %p bos)/[des]/[wen]))
|
|
|
|
=+ owr=((hard dome) .^(%cv /(scot %p who)/[des]/[wen]))
|
2013-10-06 11:44:07 +04:00
|
|
|
=+ sab=`saba`[bos des [0 let.der] (flop (turn hit.der |=(a=frog q.a)))]
|
2014-06-01 01:11:11 +04:00
|
|
|
=+ lum=(~(auld ze est owr) ?~(gem %fine -.gem) who des sab)
|
2013-12-09 01:23:03 +04:00
|
|
|
?~ lum
|
2014-05-31 02:59:58 +04:00
|
|
|
^- gift
|
|
|
|
[%la %leaf "{(trip des)} failed to merge, please rerun with a merge option"]
|
2013-12-09 01:23:03 +04:00
|
|
|
?~ u.lum
|
2013-10-06 11:44:07 +04:00
|
|
|
`gift`[%la %leaf "{(trip des)} is up to date"]
|
|
|
|
`gift`[%ok des u.u.lum]
|