aboutsummaryrefslogtreecommitdiffstats
path: root/test/setup.sh
blob: 636c7d6546866ef8d7369fd4dac2782011b82b28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

mkdir -p "$BOSUN_DIR/app-foo/package.use"
mkdir -p "$BOSUN_DIR/service-bar/package.use"
mkdir -p "$BOSUN_DIR/service-bar/package.accept_keywords"
mkdir -p "$BOSUN_DIR/host-baz"

touch "$BOSUN_DIR/app-foo/package.use/30-app-foo"
touch "$BOSUN_DIR/service-bar/package.use/20-service-bar"
touch "$BOSUN_DIR/service-bar/package.accept_keywords/20-service-bar"
touch "$BOSUN_DIR/host-baz/make.conf"

mkdir -p "$BOSUN_DIR/../package.use"
ln -s ../stow/app-foo/package.use/30-app-foo "$BOSUN_DIR/../package.use/30-app-foo" 
ln -s ../stow/service-bar/package.use/20-service-bar "$BOSUN_DIR/../package.use/20-service-bar" 
ln -s stow/service-bar/package.accept_keywords "$BOSUN_DIR/../package.accept_keywords"