Remove old import script
This commit is contained in:
parent
766096faf6
commit
1879390440
21
build.ps1
21
build.ps1
@ -1,21 +0,0 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$version = (gc .\extension\manifest.json | convertfrom-json).version
|
||||
$archiveDir = "C:\ML\shinigami-eyes-releases"
|
||||
|
||||
|
||||
$out = "$archiveDir\xpi\shinigami-eyes-$version.xpi"
|
||||
if(Test-Path $out){ throw 'Release already exists.' }
|
||||
|
||||
node import-data.js
|
||||
cd extension
|
||||
del ..\ShinigamiEyes.xpi -ErrorAction Ignore
|
||||
7z a ..\ShinigamiEyes.xpi * -mm=Copy
|
||||
cd ..
|
||||
|
||||
|
||||
copy ShinigamiEyes.xpi $out
|
||||
copy "C:\ML\facebook\decisions.pb" "$archiveDir\data\shinigami-eyes-$version.pb"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user