Skip to content

Commit 99d375c

Browse files
Merge pull request #110 from plotly/make_streamline
trying to streamline make/mapbox_token issues
2 parents 4dcaf7a + d28f752 commit 99d375c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.circleci/config.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ jobs:
5252
name: make html
5353
command: |
5454
. venv/bin/activate
55-
rm -f build/failures/*
56-
echo ${mapbox_token} > .mapbox_token
57-
mkdir -p build/ipynb
58-
cd build/ipynb && ln -s ../../.mapbox_token && cd ../..
55+
echo ${mapbox_token} > python/.mapbox_token
5956
make -kj8 || make -kj8
6057
if [ "${CIRCLE_BRANCH}" == "master" ]; then
6158
cd build/html

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ all: $(HTML_FILES) $(V3_REDIR_FILES) $(NEXT_REDIR_FILES)
2121

2222
.PRECIOUS: $(IPYNB_FILES)
2323

24+
$(IPYNB_DIR)/.mapbox_token: $(MD_DIR)/.mapbox_token
25+
@mkdir -p $(IPYNB_DIR)
26+
cd $(IPYNB_DIR) && ln -s ../../$<
27+
28+
$(IPYNB_FILES): $(IPYNB_DIR)/.mapbox_token
29+
2430
$(IPYNB_DIR)/%.ipynb: $(MD_DIR)/%.md
2531
@mkdir -p $(IPYNB_DIR)
2632
@echo "[jupytext] $<"

0 commit comments

Comments
 (0)