Permalink
Browse files

remove more references to dirty schedulers

  • Loading branch information...
imbriaco committed Mar 18, 2016
1 parent 8d56651 commit e697b72c301072909b8e85e9346bbf6caa8b1b25
Showing with 3 additions and 13 deletions.
  1. +1 −2 Brewfile
  2. +2 −9 Makefile
  3. +0 −2 README.md
View
@@ -1,6 +1,5 @@
tap 'operable/operable'
brew 'erlang', args: ['with-dirty-schedulers']
brew 'libsodium'
brew 'erlang'
brew 'postgresql'
brew 'elixir'
brew 'goon'
View
@@ -10,8 +10,6 @@ ifdef BUILDKITE_BUILD_NUMBER
TEST_DATABASE_URL := $(TEST_DATABASE_URL).$(BUILDKITE_BUILD_NUMBER)
endif
DIRTY_SCHEDULER_SUPPORT := $(shell ERL_CRASH_DUMP=/dev/null erl -noshell -eval "erlang:system_info(dirty_cpu_schedulers)." -eval "init:stop()" > /dev/null 2>&1; echo $$?)
ci: export DATABASE_URL = $(TEST_DATABASE_URL)
ci: export MIX_ENV = test
ci: ci-setup test-all ci-cleanup
@@ -28,20 +26,15 @@ ci-setup: ci-reset
ci-cleanup:
mix ecto.drop
setup: check-for-dirty-schedulers
setup:
mix deps.get
mix ecto.create
mix ecto.migrate
check-for-dirty-schedulers:
ifneq ($(DIRTY_SCHEDULER_SUPPORT), 0)
$(error Erlang must be compiled with support for dirty schedulers)
endif
# Note: 'run' does not reset the database, in case you have data
# you're actively using. If this is your first time, run `make
# reset-db` before executing this recipe.
run: check-for-dirty-schedulers
run:
iex -S mix phoenix.server
reset-db:
View
@@ -37,8 +37,6 @@ Cog depends on a few things to run locally:
* Postgres
* A `SLACK_API_TOKEN` environment variable (with a valid token)
* Erlang compiled with the dirty schedulers enabled
* `libsodium`
With those installed, setup your computer with:

0 comments on commit e697b72

Please sign in to comment.