Adding headers to scripts and removing empty line from main.c

This commit is contained in:
mdlewisfb
2018-11-16 07:56:29 -08:00
parent 9119a7582a
commit dd403f626a
3 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
/*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
node {
currentBuild.result = 'SUCCESS'
withEnv(["UNITY_ROOT=$HOME/Unity", "TOOLCHAIN=$HOME/gcc-arm-none-eabi", "OCWARE_DIR=./"]) {

View File

@@ -9,7 +9,6 @@
//*****************************************************************************
// HEADER FILES
//*****************************************************************************
#include "Board.h"
#include "inc/common/bigbrother.h"
#include "inc/common/global_header.h"

View File

@@ -1,4 +1,11 @@
#!/bin/bash
#
# Copyright (c) 2018-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# Get all files that are different from master and only lint those.
fileList=`git --no-pager diff --name-only HEAD origin/master ./firmware/ec | grep ".\.c$\|.\.h$"`