-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tom Dalbo
committed
Jun 5, 2017
1 parent
ccbe9af
commit e62d8bf
Showing
4 changed files
with
31 additions
and
0 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,2 +1,3 @@ | ||
*.class | ||
*.jar | ||
.DS_Store |
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 @@ | ||
# Covfefe-ify your words | ||
|
||
## Usage | ||
`covfefe [args]` | ||
|
||
e.g. `covfefe president` will return `preszizi`. You can enter multiple string arguments as well. | ||
|
||
For more information, see https://codegolf.stackexchange.com/questions/123685/covfefify-a-string | ||
|
||
## How to Install | ||
- Make sure you have Java 8 | ||
- If you want to compile (not download the JAR) you'll need jdk 1.8 | ||
|
||
### Building | ||
`sh build.sh` | ||
|
||
This will compile Main.java and bundle it into the jar | ||
|
||
### Installing locally | ||
`sh install.sh` | ||
|
||
This will install it to /usr/local/lib and name it covfefe.jar. It'll also create a symlink in /usr/local/bin to the covfefe shell script |
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 | ||
javac Main.java | ||
jar -cvfm covfefe.jar MANIFEST.MF Main.class |
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,5 @@ | ||
#!/usr/bin/env bash | ||
cp covfefe.jar /usr/local/lib | ||
chmod +x covfefe | ||
rm /usr/local/bin/covfefe | ||
ln -s ./covfefe /usr/local/bin/covfefe |