Browse Source

quick package script to make linux releases from OSX

pull/1/head
Odilitime 2 years ago
parent
commit
5da7b350c2
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      reltools/linux/package_from_darwin.sh

+ 12
- 0
reltools/linux/package_from_darwin.sh View File

@@ -0,0 +1,12 @@
#!/bin/bash
physicalCpuCount=$([[ $(uname) = 'Darwin' ]] &&
sysctl -n hw.physicalcpu_max ||
lscpu -p | egrep -v '^#' | sort -u -t, -k 2,4 | wc -l)
mkdir netrunner-$(date +%F)
cd netrunner-$(date +%F)
cp ../../../*.ttf .
curl https://gyroninja.net:1615/job/NetRunner/lastSuccessfulBuild/artifact/netrunner > netrunner
cd ..
zip -r -X netrunner-$(date +%F)-linux.zip netrunner-$(date +%F)
rm -fr netrunner-$(date +%F)
# https://gitgud.io/snippets/29

Loading…
Cancel
Save