Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Asko Nomm committed Mar 28, 2022
1 parent 50c4bc4 commit e1fdc46
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# Bruno

A static site generator written in Clojure that uses Clojure for templating as well.
A static site generator written in Clojure that uses Clojure for templating as well thus being the perfect static site
generator for those who love Clojure.

More documentation coming soon.
## Install

### Locally

```bash
curl -s https://raw.githubusercontent.com/askonomm/bruno/master/install.sh | bash -s
```

You can then run Bruno as `./bruno`, given that the Bruno executable is in the current workign directory.

### Globally

```bash
curl -s https://raw.githubusercontent.com/askonomm/bruno/master/install.sh | bash -s -- -g
```

You can then run Bruno as `bruno` from anywhere.

## Usage

To be written.
22 changes: 22 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

if [ "$(uname)" == "Darwin" ]; then
curl -O -L https://github.com/askonomm/bruno/releases/latest/download/bruno-macos && \
mv bruno-macos bruno && \
chmod +x bruno
else
curl -O -L https://github.com/askonomm/bruno/releases/latest/download/bruno-linux && \
mv bruno-linux bruno && \
chmod +x bruno
fi

while [[ "$#" -gt 0 ]]; do
case $1 in
-g|--global) global="true"; shift ;;
esac
shift
done

if [ "$global" == "true" ]; then
sudo mv bruno /usr/local/bin/bruno
fi
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[lein-shell "0.5.0"]]
:aliases {"native"
["shell"
"native-image" "--report-unsupported-elements-at-runtime" "--initialize-at-build-time=." "--no-fallback"
"native-image" "--report-unsupported-elements-at-runtime" "--no-fallback"
"-jar" "./target/uberjar/bruno.jar"]}
:main bruno.core
:min-lein-version "2.0.0"
Expand Down

0 comments on commit e1fdc46

Please sign in to comment.