mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-02 11:28:04 +00:00
Adding headers to scripts and removing empty line from main.c
This commit is contained in:
9
firmware/ec/Jenkinsfile
vendored
9
firmware/ec/Jenkinsfile
vendored
@@ -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=./"]) {
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
//*****************************************************************************
|
||||
// HEADER FILES
|
||||
//*****************************************************************************
|
||||
|
||||
#include "Board.h"
|
||||
#include "inc/common/bigbrother.h"
|
||||
#include "inc/common/global_header.h"
|
||||
|
||||
@@ -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$"`
|
||||
|
||||
Reference in New Issue
Block a user