Skip to content

Commit

Permalink
Get repos before running hooks.
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Laszlo <[email protected]>
  • Loading branch information
LeonardLaszlo committed Jun 16, 2020
1 parent 6a2e899 commit 5ad09c9
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 36 deletions.
6 changes: 3 additions & 3 deletions build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.40.x/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.40.x/checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.41.x/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.41.x/checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.42.x/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.42.x/checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.43.x/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.43.x/checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.44.x/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

getNecessaryUbuntuPackages
getDepotTools
configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
6 changes: 3 additions & 3 deletions docs/v0.44.x/checkout-another-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ function getNwjsRepository {
sh -c 'echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections'
$NWJSDIR/src/build/install-build-deps.sh --arm --no-prompt --no-backwards-compatible
$NWJSDIR/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"
gclient runhooks
}

configureGclientForNwjs
getNwjsRepository
getGitRepository "https://github.com/nwjs/nw.js" "$NWJSDIR/src/content/nw"
getGitRepository "https://github.com/nwjs/node" "$NWJSDIR/src/third_party/node-nw"
getGitRepository "https://github.com/nwjs/v8" "$NWJSDIR/src/v8"

0 comments on commit 5ad09c9

Please sign in to comment.