🔨 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
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -29,7 +29,7 @@ EXAMPLES = $(wildcard examples/*.cpp)
rm -fr tmp
mkdir 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>" > $@
rm -fr tmp $@.tmp