mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 01:12:39 -05:00
834d2303a6
Builds are deployed to prebuilt/dist an prebuilt/module branches.
23 lines
730 B
Bash
Executable file
23 lines
730 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
# http://paperjs.org/
|
|
#
|
|
# Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
|
|
# http://scratchdisk.com/ & http://jonathanpuckey.com/
|
|
#
|
|
# Distributed under the MIT license. See LICENSE file for details.
|
|
#
|
|
# All rights reserved.
|
|
|
|
# Download and instal assets, but only if they haven't been installed from the
|
|
# cache yet.
|
|
if [ ! -d ~/.assets ] || [ -z "$(ls -A ~/.assets)" ]; then
|
|
mkdir -p ~/.assets
|
|
wget http://sourceforge.net/p/tellmatic/git/ci/master/tree/img/arial.ttf?format=raw -O ~/.assets/arial.ttf
|
|
fi
|
|
|
|
# Install fonts each time, as they can't be cached in Travis.
|
|
mkdir -p ~/.fonts
|
|
cp -p ~/.assets/arial.ttf ~/.fonts
|
|
fc-cache -f -v
|