Skip to content

Commit

Permalink
Merge pull request #80 from WebFreak001/fix-52
Browse files Browse the repository at this point in the history
add first-steps summary to reiterate on commands
  • Loading branch information
adamdruppe authored Nov 23, 2023
2 parents 26998b2 + bdd4d3e commit ddafe66
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/getting-started/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,22 @@ To get the package, run [`dub fetch <package name>`](../cli-reference/dub-fetch.
## Publishing packages

To publish your own packages, just create a new package with a valid package recipe like above (see the [package recipe specification](../dub-reference/recipe.md)) and follow the instructions on the [publishing packages](../dub-guide/publishing.md) page.

---

!!! success "Summary"

These are the most commonly used commands you will use with DUB:

```sh
# builds the project in the current folder
$ dub build

# builds & runs the project in the current folder
$ dub run
# or shorthand equivalent:
$ dub

# asks to download "someapp" from the registry and runs it
$ dub run someapp
```

0 comments on commit ddafe66

Please sign in to comment.