~ci-train-bot/unity8/unity8-ubuntu-zesty-2544

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Bileto Bot
  • Author(s): Albert Astals Cid
  • Date: 2017-03-08 09:49:03 UTC
  • mfrom: (2800.5.1 unity8)
  • Revision ID: ci-train-bot@canonical.com-20170308094903-0o66znnpydqjjois
Enable the license check

And tweak it to skip some files
And add missing licenses to some other files (LP: #1590044)

Approved by: Michał Sawicz, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
 
3
#
 
4
# Copyright (C) 2017 Canonical Ltd
 
5
#
 
6
# This program is free software: you can redistribute it and/or modify
 
7
# it under the terms of the GNU General Public License version 3 as
 
8
# published by the Free Software Foundation.
 
9
#
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
#
 
15
# You should have received a copy of the GNU General Public License
 
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
#
 
18
 
3
19
SETUP=false
4
20
CLEAN=false
5
21
NUM_JOBS=$(( `grep -c ^processor /proc/cpuinfo` + 1 ))