Vendor GYP and libuv into the repo.
Instead of dynamically downloading these as needed during a build, this checks in those two dependencies directly into the Wren repo. That's a little lame because users of Wren who aren't building the CLI don't actually need them, but they aren't too big, so it's not a huge deal. It makes builds (particularly on Travis) more reliable, because they don't have to pull down additional content over the network.
This commit is contained in:
@@ -11,9 +11,10 @@ endif
|
||||
# Executables are built to bin/. Libraries are built to lib/.
|
||||
|
||||
# A normal, optimized release build for the current CPU architecture.
|
||||
# For convenience, also copies the interpreter to the top level.
|
||||
release:
|
||||
$(V) $(MAKE) -f util/wren.mk
|
||||
$(V) cp bin/wren wren # For convenience, copy the interpreter to the top level.
|
||||
$(V) cp bin/wren wren
|
||||
|
||||
# A debug build for the current architecture.
|
||||
debug:
|
||||
@@ -74,10 +75,6 @@ clean:
|
||||
$(V) rm -rf build
|
||||
$(V) rm -rf lib
|
||||
|
||||
# Remove all build outputs, intermediate files, and downloaded dependencies.
|
||||
cleanall: clean
|
||||
$(V) rm -rf deps
|
||||
|
||||
# Run the tests against the debug build of Wren.
|
||||
test: debug
|
||||
$(V) $(MAKE) -f util/wren.mk MODE=debug test
|
||||
|
||||
Reference in New Issue
Block a user