Commit graph

33 commits

Author SHA1 Message Date
Thomas Buckley-Houston 3bc427f416 devops: Update release process for Github 2022-07-20 15:22:12 -04:00
Thomas Buckley-Houston f34ccc7344 devops: Move random scripts into central ctl.sh 2022-07-16 17:18:39 -04:00
Thomas Buckley-Houston 8810e481db tests: Migrate to Github Actions 2022-07-16 17:18:39 -04:00
Tormod Alf Try Tufteland 8d321c47a1 feat: github action for cross-compiling releases 2022-07-01 09:17:12 -03:00
Tormod Alf Try Tufteland b4bfd1af6d fix: build, and go 1.18 2022-06-29 12:59:27 -03:00
Érico Nogueira Rolim 84f5382eda
Move to Go modules (#338)
* interfacer: Move to Go modules.

* interfacer/contrib: remove dep usage.

No longer needed due to the move to Go modules.

* Move src/main.go to cmd/browsh/main.go.

Allows installation with `go install ./cmd/browsh`, no need to specify
output.

* interfacer/src/browsh/firefox: fix browsh.xpi path

* setup_linux_build_env: clean up and update.

- Remove references to dep and GOPATH
- Use code blocks for commands
- Update for new build instructions
2020-07-27 09:13:55 +02:00
Thomas Buckley-Houston 8b4b4c5e67 Update Go dep to v0.5.0 2018-11-06 21:14:18 +09:00
stark 77211ed974 replaced cat with i/o redirection 2018-10-26 21:16:39 +09:00
Jared Rewerts 99d8468920 Used a cross-platform Bash shebang. 2018-09-22 21:31:04 +08:00
Jared Rewerts 3c0ddf0c80 Switched to using a more cross-platform build script. 2018-09-22 21:31:04 +08:00
Thomas Buckley-Houston 5829c71a3e Centralise all the Browsh build steps 2018-07-26 18:59:59 +08:00
Thomas Buckley-Houston 9abc3aaa3f Refactor build process to not use pre-built bins
This means that there's now a canonical script that allows other
distributers to build Browsh. The only caveat being that the web
extension cannot be built (Mozilla only allows one signed `.xpi` per
version), so it is downloaded.
2018-07-26 18:44:01 +08:00
Thomas Buckley-Houston 1b0d5f103f Provide Browsh version with git in Dockerfile
Version v1.4.6
2018-07-19 15:26:45 +08:00
Thomas Buckley-Houston e270dca8aa Refactor to keep Browsh version in Go 2018-07-19 13:14:59 +08:00
Thomas Buckley-Houston 79bd148a60 Add OpenBSD build
Touches #126 /cc @vext01
2018-07-14 21:25:29 +08:00
Thomas Buckley-Houston 1bfb10f022 Don't UPX compress linux_arm64 binary 2018-07-11 18:04:12 +08:00
Emiel Wiedijk d79b8810dc Check for $GOPATH
The shell script in interfacer/contrib/setup_go.sh expands the $GOPATH
variable to download a script to $GOPATH/bin. However, if $GOPATH is not
set, that expands to /bin. If the script is run with root privileges
(accidentally), this will download a "strange" executable to /bin, which
is supposed to be for system executables. If it is run without root
privileges, it gives an (unclear) error about permissions. This commit checks
if $GOPATH exists. If it $GOPATH does not exist, it exits with error code 1.
2018-07-11 06:21:23 +07:00
Thomas Buckley-Houston 65936913cb Don't use curl's --fail in setting up Browsh
Seems to fail every time
2018-07-10 10:44:34 +08:00
Thomas Buckley-Houston 90078ff6c0 Add --fail and set -e when setting up Browsh
As per @zutto's suggestion in #62

This will at least notify us when something goes wrong during a Docker
build.
2018-07-09 19:21:25 +08:00
Thomas Buckley-Houston ba373e9815 Change 'texttop' refs to 'browsh' 2018-07-08 17:07:10 +08:00
Thomas Buckley-Houston c9df161eb6 Don't UPX compress OSX binaries
The current versions of UPX cause an instant crash of the Browsh binary
on OSX :/

Version 1.0.13
2018-06-13 19:37:26 +08:00
Thomas Buckley-Houston 375a7a16b1 Didn't use glob for freebsd UPX exclusion 2018-06-12 20:47:20 +08:00
Thomas Buckley-Houston 133e176646 Don't compress *any* freebsd binaries
... including ARM ones
2018-06-12 20:37:33 +08:00
Thomas Buckley-Houston ae44a18cfc Moved URL bar input and mono mode toggle to CLI
Finally fixes integration tests
2018-04-28 19:02:40 +08:00
Thomas Buckley-Houston 34497c88aa Better test logging 2018-04-07 12:55:05 +08:00
Thomas Buckley-Houston 1acb178fa7 Lots of new integration tests 2018-04-07 11:35:17 +08:00
Thomas Buckley-Houston c0a79caf4e Refactor Browsh Go code into package
This helps with isolating the tests and refactoring the code into
separate files.
2018-04-01 16:31:25 +08:00
Thomas Buckley-Houston 8cf3de33c3 Move integration tests to Golang CLI client
After moving to Tcell and implementing its screen diff updates, we can
no longer watch STDOUT to get frames during integration tests. Instead
we need to use Tcell's SimulationScreen and which has a GetContents()
method. This is actually also a much more robust way of being able to
see what Browsh actually outputs during testing.
2018-02-17 14:10:39 +08:00
Thomas Buckley-Houston 8c999b5d54 Exclude freebsd build from UPX compression 2018-02-09 11:47:02 +08:00
Thomas Buckley-Houston cdab6bde93 Bugfixes to Dockerfile 2018-02-02 17:20:37 +08:00
Thomas Buckley-Houston 0b3ff030cd Release v0.2.3 2018-01-30 17:50:55 +08:00
Thomas Buckley-Houston 2985774859 Automate releases 2018-01-28 16:08:19 +08:00
Thomas Buckley-Houston 318f5c3c34 First draft of integration tests 2018-01-23 20:04:23 +08:00