GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 3f018465 authored by boklm's avatar boklm
Browse files

Add Windows Expert Bundle

parent 7d44af3b
......@@ -103,6 +103,13 @@ input_files:
- '[% c("var/build_target") %]'
- torbrowser-osx-x86_64
- name: windows-expert-bundle
project: tor
enable: '[% c("var/torbrowser-windows-i686") %]'
target:
- '[% c("var/build_target") %]'
- torbrowser-windows-i686
- expert-bundle
build: |
#!/bin/sh
......@@ -112,6 +119,7 @@ build: |
mkdir -p "$destdir"
[% IF c("var/torbrowser-windows-i686") -%]
mv [% c('input_files_by_name/windows-i686') %]/* "$destdir"/
mv [% c('input_files_by_name/windows-expert-bundle') %]/* "$destdir"/
[% END -%]
[% IF c("var/torbrowser-osx-x86_64") -%]
mv [% c('input_files_by_name/osx-x86_64') %]/* "$destdir"/
......
......@@ -108,15 +108,23 @@ done
mkdir -p [% dest_dir _ '/' _ c('filename') %]
[%
IF c("var/osx");
SET tarsrcdir = [ 'Contents' ];
IF c("var/expert_bundle");
c('zip', {
zip_src => [ 'Data', 'Tor', ],
zip_args => dest_dir _ '/' _ c('filename') _ '/tor-win32-' _ c("version") _ '.zip',
});
ELSE;
SET tarsrcdir = [ 'Data', 'Tor', ];
IF c("var/osx");
SET tarsrcdir = [ 'Contents' ];
ELSE;
SET tarsrcdir = [ 'Data', 'Tor', ];
END;
c('tar', {
tar_src => tarsrcdir,
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename') _ '/tor.tar.gz',
});
END;
c('tar', {
tar_src => tarsrcdir,
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename') _ '/tor.tar.gz',
}) %]
%]
[% IF c("var/linux") %]
[% c('tar', {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment