1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-04 19:42:10 +03:00

🔨 enforce using Python 2 for the wandbox script

This commit is contained in:
Niels Lohmann
2018-02-11 14:46:15 +01:00
parent 548f488941
commit 61f0bfb15c

View File

@@ -29,7 +29,7 @@ EXAMPLES = $(wildcard examples/*.cpp)
rm -fr tmp rm -fr tmp
mkdir tmp mkdir tmp
cp -r $(SRCDIR)/nlohmann tmp cp -r $(SRCDIR)/nlohmann tmp
scripts/send_to_wandbox.py tmp $< > $@.tmp python2 scripts/send_to_wandbox.py tmp $< > $@.tmp
/bin/echo -n "<a target=\"_blank\" href=\"`cat $@.tmp`\"><b>online</b></a>" > $@ /bin/echo -n "<a target=\"_blank\" href=\"`cat $@.tmp`\"><b>online</b></a>" > $@
rm -fr tmp $@.tmp rm -fr tmp $@.tmp