releng: Add script to generate list of plugins for API baseline
[deliverable/tracecompass.git] / releng / scripts / generate_api_baseline_unit_ids.sh
CommitLineData
1c265dc2
MAL
1#!/bin/bash
2###############################################################################
3# Copyright (c) 2016 Ericsson
4#
5# All rights reserved. This program and the accompanying materials
6# are made available under the terms of the Eclipse Public License v1.0
7# which accompanies this distribution, and is available at
8# http://www.eclipse.org/legal/epl-v10.html
9###############################################################################
10
11# Generates a list of plugins suitable to be put in the API baseline. It skips test plugins, rcp and doc.
12
13find ../.. -name "MANIFEST.MF" | grep -v -E 'doc|rcp|tests' | cut -c 3- | xargs -n1 dirname | xargs -n1 dirname | sed -rn s/.*\\/\(.*\)/\\1/p | sort | xargs -n1 -I {} echo '<unit id="{}" version="0.0.0"/>'
14
This page took 0.034824 seconds and 5 git commands to generate.