Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/assets/build.sh
1447 views
1
#!/usr/bin/env bash
2
set -ev
3
4
export CWD=`pwd`
5
6
# There are a bunch of random auto-generated bits and pieces in assets.
7
# This is really bad (IMHO), but at least I can automate it here in this script.
8
9
# Create the snippets/examples json data.
10
# This happens to be done by checking out a submodule somewhere
11
# and running make.
12
cd "$CWD"/../..
13
git submodule update --init
14
cd examples
15
OUTDIR="$CWD"/examples make
16
17
18