script cleanup

This commit is contained in:
Jacob Heider 2023-07-17 12:59:19 -04:00 committed by GitHub
parent 2e6aade630
commit b2c302d631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,16 +22,30 @@ dependencies:
openssl.org: '*' openssl.org: '*'
build: build:
script: |- script:
sh build.sh - sh build.sh
bin/nim c koch - ./bin/nim c koch
./koch boot -d:release - ./koch boot -d:release
./koch tools - ./koch tools
./install.sh {{ prefix }} - ./install.sh {{ prefix }}
rm -rf {{ prefix }}/nim/compiler - run: |
cp -r {{ prefix }}/nim/* {{ prefix }} rm -rf nim/compiler
rm -rf {{ prefix }}/nim cp -r nim/* .
for fn in atlas nim nim-gdb nim_dbg nimble nimgrep nimpretty nimsuggest testament; do cp ./bin/$fn {{ prefix }}/bin/; done rm -rf nim
working-directory: ${{prefix}}
- run: cp $BINS {{ prefix }}/bin/
working-directory: bin
env:
BINS:
- atlas
- nim
- nim-gdb
- nim_dbg
- nimble
- nimgrep
- nimpretty
- nimsuggest
- testament
test: test:
script: | script: |