forked from livebud/bud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and test the compiler (livebud#93)
* add initial compiler test * test CI against a linked V8 * wip compiler refactor * starting to consolidate * more consolidation * working on new test runner * finalize testing apis * migrating tests * improve testcli http response handling and started refactoring controller tests * refactor controller, view and public tests * revert error formatting, will do it top-level instead. refactor remaining tests * extract out file descriptor passing. work on remaining tests * fix remaining failed tests * update test script to install bud binary into $PATH * use go to install bud * fix public test for CI * fix public tests * add hot client for testing the hot server. trying to reproduce view error locally * add custom flag parsing support * add dockerfile for development and fix failing ubuntu tests * update timeout * remove unused go modules * delete unused files * replace matryer/is with internal/is. * fix formatting * fix hot reload and scaffolding new root controllers * debug panic * fix test * add error check and test for panic seen in CI * try supporting Go 1.16+
- Loading branch information
1 parent
b0992b8
commit 2dfa05a
Showing
173 changed files
with
5,279 additions
and
3,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:18.04 | ||
|
||
ARG NODE_VERSION=8.10.0 | ||
ARG GO_VERSION=1.18.1 | ||
ARG BUD_VERSION=main | ||
|
||
# Install basic dependencies | ||
RUN apt-get -qq update | ||
RUN apt-get -qq -y install curl git make gcc g++ | ||
|
||
# Install Node.js | ||
RUN curl https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz | tar -xz -C /usr/local --strip-components 1 | ||
RUN node -v | ||
|
||
# Install Go | ||
RUN curl -L https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz | tar -xz -C /usr/local --strip-components 1 | ||
RUN go version | ||
ENV PATH "/root/go/bin:${PATH}" | ||
|
||
# Install bud | ||
RUN git clone https://github.com/livebud/bud /bud | ||
WORKDIR /bud | ||
RUN git checkout $BUD_VERSION | ||
RUN make install | ||
RUN go install . | ||
RUN bud version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.