@@ -89,6 +89,8 @@ tutCleanup = tutorials/cleanup
89
89
tutWipeSlate = tutorials/wipe-slate
90
90
tutHello = tutorials/hello-world
91
91
tutBasics = tutorials/basics
92
+ tutSyncbaseLocalPersist = tutorials/syncbase/localPersist
93
+ tutSyncbaseSync = tutorials/syncbase/sync
92
94
tutPrincipals = tutorials/security/principals-and-blessings
93
95
tutPermsAuth = tutorials/security/permissions-authorizer
94
96
tutCaveats1st = tutorials/security/first-party-caveats
@@ -118,6 +120,8 @@ completer = public/sh/tut-completer
118
120
completerScripts = \
119
121
$(completer ) -hello-world.sh \
120
122
$(completer ) -basics.sh \
123
+ $(completer ) -syncbase-local-persist.sh \
124
+ $(completer ) -syncbase-sync.sh \
121
125
$(completer ) -permissions-authorizer.sh \
122
126
$(completer ) -custom-authorizer.sh \
123
127
$(completer ) -suffix-part1.sh \
@@ -133,7 +137,8 @@ setupScripts = \
133
137
$(scenario ) -b-setup.sh \
134
138
$(scenario ) -c-setup.sh \
135
139
$(scenario ) -d-setup.sh \
136
- $(scenario ) -e-setup.sh
140
+ $(scenario ) -e-setup.sh \
141
+ $(scenario ) -f-setup.sh
137
142
138
143
depsCommon = \
139
144
content/$(tutSetup ) .md \
@@ -268,6 +273,24 @@ $(completer)-basics.sh: $(depsBasics) | $(MDRIP)
268
273
$(scenario ) -b-setup.sh : $(completer ) -basics.sh
269
274
cp $^ $@
270
275
276
+ depsSyncbaseLocalPersist = $(depsBasics ) content/$(tutSyncbaseLocalPersist ) .md
277
+ .PHONY : test-syncbase-local-persist
278
+ test-syncbase-local-persist : $(depsSyncbaseLocalPersist ) | $(MDRIP )
279
+ $(MDRIP ) --subshell test $^
280
+ $(completer ) -syncbase-local-persist.sh : $(depsSyncbaseLocalPersist ) | $(MDRIP )
281
+ mkdir -p $(@D )
282
+ $(MDRIP ) --preambled 0 completer $^ > $@
283
+ $(scenario ) -f-setup.sh : $(completer ) -syncbase-local-persist.sh
284
+ cp $^ $@
285
+
286
+ depsSyncbaseSync = $(depsSyncbaseLocalPersist ) content/$(tutSyncbaseSync ) .md
287
+ .PHONY : test-syncbase-sync
288
+ test-syncbase-sync : $(depsSyncbaseSync ) | $(MDRIP )
289
+ $(MDRIP ) --subshell test $^
290
+ $(completer ) -syncbase-sync.sh : $(depsSyncbaseSync ) | $(MDRIP )
291
+ mkdir -p $(@D )
292
+ $(MDRIP ) --preambled 0 completer $^ > $@
293
+
271
294
depsPrincipals = $(depsBasics ) content/$(tutPrincipals ) .md
272
295
.PHONY : test-principals
273
296
test-principals : $(depsPrincipals ) | $(MDRIP )
@@ -378,7 +401,12 @@ depsOneBigCoreTutorialTest = \
378
401
content/$(tutPrincipals ) .md \
379
402
content/$(tutPermsAuth ) .md \
380
403
content/$(tutSuffixPart1 ) .md \
381
- content/$(tutSuffixPart2 ) .md
404
+ content/$(tutSuffixPart2 ) .md \
405
+ content/$(tutWipeSlate ) .md \
406
+ content/$(tutBasics ) .md \
407
+ content/$(tutSyncbaseLocalPersist ) .md \
408
+ content/$(tutSyncbaseSync ) .md \
409
+
382
410
383
411
# An ordering that lets us test all the Java tutorials faster than running the
384
412
# individual tests in sequence.
@@ -470,4 +498,4 @@ test-tutorials-no-install: build
470
498
# Change this to the desired version before running the target.
471
499
SYNCBASE_ANDROID_VERSION =0.1.7
472
500
upgrade-syncbase-android :
473
- find content/syncbase -type f -exec sed -i " s/\(compile 'io.v:syncbase:\)\(.*\)'/\1$( SYNCBASE_ANDROID_VERSION) '/g" {} \;
501
+ find content/syncbase -type f -exec sed -i " s/\(compile 'io.v:syncbase:\)\(.*\)'/\1$( SYNCBASE_ANDROID_VERSION) '/g" {} \;
0 commit comments