Commit Graph

5 Commits

Author SHA1 Message Date
Pau Espin bedb1fd1e2 Fix globbing writing '*.ttcn' to */.gitignore
This was the case under ggsn_tests, which in turn prevents search text
tools like "ag" to find stuff in .ttcn files (because it skips code in

Change-Id: Iaef3cfd5ae29db352046664ab4949b037ca80307
2022-03-22 17:49:55 +00:00
Harald Welte 0cdf071e8a Put build / run scripts under Apache 2.0 license
The license of the build or execution scripts doesn't affect the license
of the actual program, and we want to explicitly state that these scripts may
be used in any kind of context.

Change-Id: I553925cd88b05903aab52ae1afb093aa9ab9d035
2019-06-21 09:34:09 +00:00
Neels Hofmeyr cd11223c0f ignore results of .ttcnpp files
Add another macro ignore_pp_results to and call from all files, to add results of *.ttcnpp files, i.e. generated *.ttcn
files, to .gitignore.

Change-Id: Ic7fb176226771212d7700dafaf27ac71f12a4a61
2018-03-16 18:25:58 +01:00
Neels Hofmeyr 53fb0cf22b auto-generate .gitignore files to ignore symlinks
In each subdir that is a target for symlinks, automatically ignore the results
of gen_links():

- At the top of, clear the .gitignore.
- In the loop, add each link name to the local .gitignore.
- In selected, there is also a "manual" link creationg. So that
  this also ends up in the local .gitignore, have the link creation as separate
  gen_link() macro which at the same time adds to ./.gitignore.
- in the root .gitignore, ignore all the subdirs' generated */.gitignore files.

Change-Id: I73c11fe8362358bf7e1bdf0e1be53399b5d3351b
2018-03-16 00:08:08 +01:00
Neels Hofmeyr 1a4c4601d7 fix don't include source dir as link target
First of all, use one common place to define the gen_links() macro, in

In this new file, add a 'shift' to exclude the $DIR arg from also appearing in

This prevents the following wrong symlinks in the source dirs:


Change-Id: Ia8493e77df1ba8723f2c5d2a49816247b0fb55f7
2018-03-16 00:08:02 +01:00