Lift travis-specific bits out of Makefile

pull/389/head
Jesse Vincent 7 years ago
parent 235162fb02
commit 6b222f36f0
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -5,4 +5,4 @@ os:
install:
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Arduino-Boards hardware/keyboardio/avr
script:
- make travis-test
- make travis-test BOARD_HARDWARE_PATH=$(pwd)/hardware

@ -4,10 +4,6 @@
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s)
ifneq ($(wildcard $(shell pwd)/hardware/$(MAKEFILE_PREFIX)), "" )
BOARD_HARDWARE_PATH=$(shell pwd)/hardware
endif
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
ifeq ($(UNAME_S),Darwin)
BOARD_HARDWARE_PATH ?= $(HOME)/Library/Arduino/hardware

Loading…
Cancel
Save