Skip to content

Commit

Permalink
Configure Mise scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pepicrft committed Oct 5, 2024
1 parent ddf500a commit 5b4015d
Show file tree
Hide file tree
Showing 8 changed files with 1,575 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,4 @@ dist
.svelte-kit

# End of https://www.toptal.com/developers/gitignore/api/node,macos
_site/
4 changes: 4 additions & 0 deletions .mise/tasks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
#mise description="Builds the project"

pnpm -C $MISE_PROJECT_ROOT exec eleventy --input=src --output=_site
4 changes: 4 additions & 0 deletions .mise/tasks/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
#mise description="Installs the project dependencies"

pnpm -C $MISE_PROJECT_ROOT install
4 changes: 4 additions & 0 deletions .mise/tasks/serve
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
#mise description="Serves the project"

pnpm -C $MISE_PROJECT_ROOT exec eleventy --input=src --output=_site --serve
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# fuckingswiftconcurrency

Inspired by [Fucking Block Syntax](http://fuckingblocksyntax.com) and [Fucking if case let Syntax](https://fuckingifcaseletsyntax.com), we created this resourrce to summarize how to do concurrency in Swift.

## Development

### Setup

1. Clone the repository: `git clone [email protected]:tuist/fuckingswiftconcurrency.git`.
2. Install the system dependencies: `mise install`.
3. Install the project dependencies: `mise run install`.
4. Serve the site: `mise run dev`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"eleventy": "^1.0.7"
"@11ty/eleventy": "^3.0.0"
}
}
1,558 changes: 1,552 additions & 6 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Empty file added src/index.md
Empty file.

0 comments on commit 5b4015d

Please sign in to comment.