mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 09:05:46 +00:00
--help
This commit is contained in:
14
Packaging/Linux/build-debian-amd64.sh
Normal file
14
Packaging/Linux/build-debian-amd64.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
mkdir -p build
|
||||
cd build
|
||||
mkdir build-deb-amd64
|
||||
cmake -S ../../../ -B build-deb-amd64 -DCMAKE_INSTALL_PREFIX=/usr -DCROSSLANG_FETCHCONTENT=OFF -DCROSSLANG_ENABLE_FFI=ON
|
||||
cd build-deb-amd64
|
||||
make -j`nproc`
|
||||
make install DESTDIR=../crosslang_1.0.0_amd64
|
||||
mkdir -p ../crosslang_1.0.0_amd64/DEBIAN
|
||||
mkdir -p ../crosslang_1.0.0_amd64/usr/share/Tesses/CrossLang
|
||||
wget -O ../crosslang_1.0.0_amd64/usr/share/Tesses/CrossLang/Tesses.CrossLang.ShellPackage-1.0.0.0-prod.crvm https://downloads.tesses.net/ShellPackage.crvm
|
||||
cp ../../debian/control-amd64 ../crosslang_1.0.0_amd64/DEBIAN/control
|
||||
cd ../
|
||||
dpkg-deb --build crosslang_1.0.0_amd64
|
||||
8
Packaging/Linux/debian/control-amd64
Normal file
8
Packaging/Linux/debian/control-amd64
Normal file
@@ -0,0 +1,8 @@
|
||||
Package: crosslang
|
||||
Version: 1.0.0
|
||||
Architecture: amd64
|
||||
Essential: no
|
||||
Priority: optional
|
||||
Depends: tessesframework, libffi-dev
|
||||
Maintainer: Mike Nolan
|
||||
Description: A programming language
|
||||
6
Packaging/Linux/pack-debian-amd64.sh
Normal file
6
Packaging/Linux/pack-debian-amd64.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
curl --user tesses50:$GITEA_AUTH -X DELETE \
|
||||
https://git.tesseslanguage.com/api/packages/tesses50/debian/pool/jammy/main/crosslang/1.0.0/amd64
|
||||
curl --user tesses50:$GITEA_AUTH \
|
||||
--upload-file build/crosslang_1.0.0_amd64.deb \
|
||||
https://git.tesseslanguage.com/api/packages/tesses50/debian/pool/jammy/main/upload
|
||||
Reference in New Issue
Block a user