Skip to content

Commit

Permalink
Removed src and crystal compiler libs directory from CRYSTAL_PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ary Borenszweig committed Dec 12, 2014
1 parent 1aaaec2 commit d814c6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.5.5 (2014-12-12)

* Removed `src` and crystal compiler `libs` directory from CRYSTAL_PATH.
* Several bug fixes.

## 0.5.4 (2014-12-04)

* **(breaking change)** `require "foo"` always looks up in `CRYSTAL_PATH`. `require "./foo"` looks up relative to the requiring file.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ADD . /opt/crystal-head

WORKDIR /opt/crystal-head
ENV CRYSTAL_CONFIG_VERSION head
ENV CRYSTAL_CONFIG_PATH src:libs:/opt/crystal-head/src:/opt/crystal-head/libs
ENV CRYSTAL_CONFIG_PATH libs:/opt/crystal-head/src:/opt/crystal-head/libs

RUN PATH=$PATH:/opt/llvm-3.5.0-1/bin crystal build --release src/compiler/crystal.cr

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ O := .build
SOURCES := $(shell find src -name '*.cr')
SPEC_SOURCES := $(shell find spec -name '*.cr')
FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(threads),--threads $(threads) )
EXPORTS := $(if $(release),,CRYSTAL_CONFIG_PATH=src:libs:`pwd`/src:`pwd`/libs)
EXPORTS := $(if $(release),,CRYSTAL_CONFIG_PATH=`pwd`/src)
ifeq (Darwin,$(shell uname))
BUILD_PATH := PATH=`brew --prefix llvm`/bin:$$PATH LIBRARY_PATH=`brew --prefix crystal`/embedded/lib
endif
Expand Down

0 comments on commit d814c6c

Please sign in to comment.