-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powershell: merge eval-ast and fix a few tests
Update Dockerfile and run for Ubuntu/24.04 and powershell/7.4.5. Fix (false? 1) and (true? 0). Change the type of the env.{find,get,set} key to a raw string. Merge eval-ast into EVAL. Implement DEBUG-EVAL. Prevent defmacro! from mutating the original function.
- Loading branch information
1 parent
87b283a
commit 1afe9ee
Showing
13 changed files
with
225 additions
and
277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:vivid | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,10 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
RUN mkdir -p /mal | ||
WORKDIR /mal | ||
|
@@ -21,16 +19,10 @@ WORKDIR /mal | |
# Specific implementation requirements | ||
########################################################## | ||
|
||
# Nothing additional needed for python | ||
RUN apt-get -y install libunwind8 libicu52 | ||
#RUN apt-get -y install libunwind8 libicu55 | ||
|
||
# For dist packaging | ||
RUN curl -L -O https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb && \ | ||
dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb && \ | ||
rm powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb | ||
#RUN curl -L -O https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb && \ | ||
# dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb && \ | ||
# rm powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb | ||
RUN apt-get-y install ca-certificates curl | ||
RUN curl -L -O \ | ||
https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell_7.4.5-1.deb_amd64.deb && \ | ||
dpkg -i powershell_7.4.5-1.deb_amd64.deb && \ | ||
rm powershell_7.4.5-1.deb_amd64.deb | ||
|
||
ENV HOME=/mal |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
exec powershell $(dirname $0)/${STEP:-stepA_mal}.ps1 "${@}" | ||
#!/bin/sh | ||
exec pwsh $(dirname $0)/${STEP:-stepA_mal}.ps1 "${@}" |
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
Oops, something went wrong.