Skip to content

Commit

Permalink
[Chore] add asdf one script setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Davi A. Wasserberg committed Feb 12, 2022
1 parent b27cd63 commit 633428f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
java adoptopenjdk-8.0.322+6
gradle 6.8.3
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# ws3d
WorldServer3D - A Virtual Environment for Experiments with Artificial Creatures

## Utils for setup (optional)

### ASDF
[asdf github](https://github.com/asdf-vm/asdf)

[Install asdf](http://asdf-vm.com/guide/getting-started.html#_1-install-dependencies)

* what is asdf?
tldr: it's a package manager to rule all package managers

* is it mandatory to run this project?
tldr: no, there are other methods

* what is the advantage of `asdf`?
tldr: once installed, run `./utils/asdf-setup.sh`

You have a running project :)
6 changes: 6 additions & 0 deletions utils/asdf-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/sh

asdf plugin-add java https://github.com/halcyon/asdf-java.git
asdf plugin-add gradle https://github.com/rfrancis/asdf-gradle.git
asdf install
gradle run

0 comments on commit 633428f

Please sign in to comment.