summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom Black <[email protected]>2020-01-01 23:49:32 -0600
committerTom Black <[email protected]>2020-01-01 23:49:32 -0600
commit01c644562019a9ad69fa16f08c695bb99488e343 (patch)
tree2b86d49d32c2319acc4b12f8286d8044ceca0bc0
parent3bfe72034fae46d8184ad02c63268f99e2ff69fe (diff)
downloadruby2d-01c644562019a9ad69fa16f08c695bb99488e343.tar.gz
ruby2d-01c644562019a9ad69fa16f08c695bb99488e343.zip
Add instructions for `rake dev`
-rw-r--r--README.md2
-rw-r--r--Rakefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5393253..3783509 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Next, install dependencies:
- Install the native graphics library [Simple 2D](https://github.com/simple2d/simple2d) by following the instructions in its README.
- Install [MRuby](http://mruby.org) in order to build Ruby 2D apps natively. On macOS using [Homebrew](https://brew.sh), run `brew install mruby`. On Ubuntu, use `sudo apt install mruby libmruby-dev`
-Finally, run `rake` to build and install the gem locally.
+Finally, run `rake` to build and install the gem locally. Use `rake dev` to build referencing user-installed libraries (e.g. Simple 2D and SDL).
## Tests
diff --git a/Rakefile b/Rakefile
index 2a8f8a1..5de0597 100644
--- a/Rakefile
+++ b/Rakefile
@@ -58,6 +58,7 @@ task default: 'all'
desc "Run default tasks using user-installed libraries"
task :dev do
+ puts 'Building using user-installed libraries'.info
$libs = '-- libs'
Rake::Task['all'].invoke
end