Skip to content
Permalink
Browse files

Update Makefiles; add "vagrant-*" make targets

  • Loading branch information...
crwood committed Jul 10, 2019
1 parent d0ce24e commit afcc8ec13f5e68e316671d964e0157b02d9cd2fa
Showing with 40 additions and 0 deletions.
  1. +18 −0 Makefile
  2. +22 −0 make.bat
@@ -175,6 +175,24 @@ dmg:
python -m pip install dmgbuild && \
python misc/call_dmgbuild.py

vagrant-linux:
pushd vagrantfiles/linux && \
vagrant up ; \
popd

vagrant-macos:
pushd vagrantfiles/macos && \
vagrant up ; \
popd

vagrant-windows:
rm vagrantfiles/windows/GridsyncSource.zip ; \
python3 scripts/make_source_zip.py . vagrantfiles/windows/GridsyncSource.zip && \
pushd vagrantfiles/windows && \
vagrant up ; \
rm GridsyncSource.zip ; \
popd

# https://developer.apple.com/library/archive/technotes/tn2206/_index.html
codesign-app:
codesign --force --deep -s "Developer ID Application: Christopher Wood" dist/Gridsync.app
@@ -38,6 +38,9 @@ if "%1"=="test" call :test
if "%1"=="frozen-tahoe" call :frozen-tahoe
if "%1"=="pyinstaller" call :pyinstaller
if "%1"=="installer" call :installer
if "%1"=="vagrant-linux" call :vagrant-linux
if "%1"=="vagrant-macos" call :vagrant-macos
if "%1"=="vagrant-windows" call :vagrant-windows
if "%1"=="all" call :all
if "%1"=="" call :all
goto :eof
@@ -91,6 +94,25 @@ call copy misc\InnoSetup6.iss .
call "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" .\InnoSetup6.iss || "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" .\InnoSetup5.iss
goto :eof

:vagrant-linux
call pushd .\vagrantfiles\linux
call vagrant up
call popd
goto :eof

:vagrant-macos
call pushd .\vagrantfiles\macos
call vagrant up
call popd
goto :eof

:vagrant-windows
call del .\vagrantfiles\GridsyncSource.zip & py -3 .\scripts\make_source_zip.py . .\vagrantfiles\windows\GridsyncSource.zip
call pushd .\vagrantfiles\windows
call vagrant up
call popd
goto :eof

:all
call :pyinstaller
call :installer

0 comments on commit afcc8ec

Please sign in to comment.
You can’t perform that action at this time.