-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Asko Nomm
committed
Mar 28, 2022
1 parent
50c4bc4
commit e1fdc46
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters