-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docstrings to pod functions + clean up scripting code.
- Loading branch information
1 parent
df91de2
commit a568da8
Showing
25 changed files
with
506 additions
and
552 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
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,5 +1,5 @@ | ||
name: stash | ||
version: 0.3.2 | ||
version: 0.3.3 | ||
github: "rorokimdim/stash" | ||
license: BSD3 | ||
author: "Amit Shrestha" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,20 @@ | ||
# Demo | ||
|
||
Assumes stash version 0.3.3 or higher. | ||
|
||
Start a repl: | ||
|
||
- babashka repl | ||
|
||
```bash | ||
./bb-repl | ||
``` | ||
|
||
- clojure repl | ||
|
||
```bash | ||
./clj-repl | ||
``` | ||
|
||
Use `(edit)` in the repl to open `user.clj` in your editor. When the editor | ||
exits, the edited content will be loaded into the repl. |
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
CLASSPATH=$(clojure -Spath) | ||
|
||
if command -v rlwrap &> /dev/null | ||
then | ||
BABASHKA_PRELOADS='(load-file "stash.clj")' rlwrap -r -q '\"' -b "(){}[],^%#@\";:'" bb --classpath "$CLASSPATH" "$@" | ||
else | ||
BABASHKA_PRELOADS='(load-file "stash.clj")' bb --classpath "$CLASSPATH" "$@" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
clj -M -i stash.clj --repl |
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,3 @@ | ||
{:deps {org.clojars.rorokimdim/pp-grid {:mvn/version "0.1.17"} | ||
babashka/babashka.pods {:mvn/version "0.2.0"} | ||
babashka/fs {:mvn/version "0.3.17"}}} |
Oops, something went wrong.