blob: dadecfcae614b7be74be3f97318a1a2d2c9aa1ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
srcs=$(ls src/*.cc | grep -v test)
echo "Building stage 1..."
g++ -Wno-deprecated -o ninja.bootstrap $srcs
echo "Building final result..."
./ninja.bootstrap ninja
rm ninja.bootstrap
echo "Done!"
|