From 1d20c0e403f1a38d4aca830e0eb4db03ba43efd3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 19 Sep 2017 22:21:29 +0200 Subject: [PATCH] Add sisu-maven-plugin replacement --- sisu.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 sisu.sh diff --git a/sisu.sh b/sisu.sh new file mode 100755 index 0000000..979f373 --- /dev/null +++ b/sisu.sh @@ -0,0 +1,13 @@ +#!/bin/sh +## This script generates a rough javax.inject.Named file. It is meant to +## replace sisu-maven-plugin as it eventually has a recursive dependency +## on maven. +## +## This script must be run in the source directory (usually src/main/java). + +for file in `(cd $1; find -name '*.java')`; do + annot=`grep "^@Named" $1/$file` + if [ "$annot" != "" ]; then + echo $file | sed -e 's|^\./||' -e 's|\.java||' -e 's|/|.|g' + fi +done > $2 -- 2.14.1 Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/setuid.scm
AgeCommit message (Expand)Author
2024-09-08privilege: Add file-like->setuid-program helper....* gnu/system/privilege.scm (file-like->setuid-program): New public procedure. * gnu/system/setuid.scm: Re-export it for compatibility. (file-like->setuid-program): Remove this old version. * gnu/services/docker.scm (singularity-setuid-programs): Use it (again). * gnu/services/desktop.scm (enlightenment-privileged-programs): Likewise. Change-Id: I8e41144438677a15cdadb3063651dbc780715497 Tobias Geerinckx-Rice
2024-08-11system: (gnu system setuid) wraps (gnu system privilege)....* gnu/system/setuid.scm (setuid-program): Rewrite as syntax to create a <privileged-program> record that is setuid by default. (setuid-program?, setuid-program-program, setuid-program-setuid?) (setuid-program-setgid?, setuid-program-user, setuid-program-group): Alias their privileged-program equivalent. Tobias Geerinckx-Rice