You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/language/package/pkgtutorial.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -365,14 +365,14 @@ jag run -d host morse_test.toit
365
365
366
366
```shell
367
367
# In the test directory:
368
-
toit.pkg init
369
-
toit.pkg install --local --name=morse-tutorial ..
368
+
toitpkg init
369
+
toitpkg install --local --name=morse-tutorial ..
370
370
```
371
371
372
372
The test should then execute successfully by running it locally:
373
373
374
374
```shell
375
-
toit.run morse_test.toit
375
+
toit morse_test.toit
376
376
```
377
377
</Tab>
378
378
</Tabs>
@@ -403,7 +403,7 @@ dependencies:
403
403
version: ^1.0.0
404
404
```
405
405
406
-
You normally don't need to worry about them, as they are automatically added when running `jag pkg install <dependency>` or `toit.pkg install <dependency>`.
406
+
You normally don't need to worry about them, as they are automatically added when running `jag pkg install <dependency>` or `toitpkg install <dependency>`.
407
407
408
408
## Publishing to the Toit package registry
409
409
@@ -423,7 +423,7 @@ Once published successfully, the registry will distribute a description of the p
423
423
</Tab>
424
424
<Tab label="toitlang.org">
425
425
426
-
Once published successfully, the registry will distribute a description of the package so that anyone can start using the package with a simple `toit.pkg install`.
426
+
Once published successfully, the registry will distribute a description of the package so that anyone can start using the package with a simple `toitpkg install`.
0 commit comments