Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 18e76172444c
Choose a base ref
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d20f4200107d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 6, 2016

  1. Makefile: can now pass verbose=1 for spec runs

    Ary Borenszweig committed Dec 6, 2016
    Copy the full SHA
    a3fd15c View commit details
  2. travis: run specs in verbose mode

    Ary Borenszweig committed Dec 6, 2016
    Copy the full SHA
    d20f420 View commit details
Showing with 6 additions and 5 deletions.
  1. +4 −3 Makefile
  2. +2 −2 bin/ci
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -4,6 +4,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) )$(if $(debug),-d )
VERBOSE := $(if $(verbose),-v )
EXPORTS := $(if $(release),,CRYSTAL_CONFIG_PATH=`pwd`/src)
SHELL = bash
LLVM_CONFIG_FINDER := \
@@ -40,15 +41,15 @@ help: ## Show this help

.PHONY: spec
spec: all_spec ## Run all specs
$(O)/all_spec
$(O)/all_spec $(VERBOSE)

.PHONY: std_spec
std_spec: all_std_spec ## Run standard library specs
$(O)/std_spec
$(O)/std_spec $(VERBOSE)

.PHONY: compiler_spec
compiler_spec: all_compiler_spec ## Run compiler specs
$(O)/compiler_spec
$(O)/compiler_spec $(VERBOSE)

.PHONY: doc
doc: ## Generate standard library documentation
4 changes: 2 additions & 2 deletions bin/ci
Original file line number Diff line number Diff line change
@@ -83,8 +83,8 @@ prepare_system() {
}

build() {
with_build_env 'make std_spec clean'
with_build_env 'make crystal spec doc'
with_build_env 'make std_spec clean verbose=1'
with_build_env 'make crystal spec doc verbose=1'
with_build_env 'find samples -name "*.cr" | xargs -L 1 ./bin/crystal build --no-codegen'
with_build_env './bin/crystal tool format --check samples spec src'
}