mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
Ivan Bushchik
2502ce0620
* +nim-lang.org Init at v1.6.14 Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> * fix(nim-lang.org) Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> * fix(nim-lang.org) i forgor Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> * nim-lang.org: remove compiler/ dir from binary package Remove double blank lines Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> * nim-lang.org: Remove deps from build section * nim-lang.org: Switch to github versioning * script cleanup --------- Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> Co-authored-by: Jacob Heider <jacob@tea.xyz>
55 lines
949 B
YAML
55 lines
949 B
YAML
distributable:
|
|
url: https://nim-lang.org/download/nim-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: nim-lang/Nim/tags
|
|
|
|
provides:
|
|
- bin/nim
|
|
- bin/nim_dbg
|
|
- bin/testament
|
|
- bin/nimsuggest
|
|
- bin/nimgrep
|
|
- bin/nim-gdb
|
|
- bin/atlas
|
|
- bin/nimpretty
|
|
- bin/nimble
|
|
|
|
dependencies:
|
|
gnu.org/gcc: '*'
|
|
pcre.org: '*'
|
|
openssl.org: '*'
|
|
|
|
build:
|
|
script:
|
|
- sh build.sh
|
|
- ./bin/nim c koch
|
|
- ./koch boot -d:release
|
|
- ./koch tools
|
|
- ./install.sh {{ prefix }}
|
|
- run: |
|
|
rm -rf nim/compiler
|
|
cp -r nim/* .
|
|
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:
|
|
script: |
|
|
mv $FIXTURE hello.nim
|
|
nim r hello.nim
|
|
fixture: |
|
|
echo "Hello World"
|