mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 09:17:17 +00:00
Add tarball for installation.
This commit is contained in:
parent
dfe7288f8c
commit
9329969ea7
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ janet
|
|||||||
/Debug
|
/Debug
|
||||||
/Emscripten
|
/Emscripten
|
||||||
/src/include/generated/*.h
|
/src/include/generated/*.h
|
||||||
|
janet-*.tar.gz
|
||||||
|
|
||||||
# Emscripten
|
# Emscripten
|
||||||
*.bc
|
*.bc
|
||||||
|
15
.travis.yml
15
.travis.yml
@ -2,20 +2,19 @@ language: c
|
|||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- make test
|
- make test
|
||||||
|
- make janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz
|
||||||
compiler:
|
compiler:
|
||||||
- clang
|
- clang
|
||||||
- gcc
|
- gcc
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
before_deploy:
|
||||||
deploy:
|
deploy:
|
||||||
provider: s3
|
provider: releases
|
||||||
access_key_id:
|
api_key: "GITHUB OAUTH TOKEN"
|
||||||
secure: AxU/Mo2hacus7LLrO5BNIvf9QosN6mu1XPYIU+cgH6UsM/vwkZce3lrK7Fjht9Cm6/Euego1VODAA0Nh5Jp7m+qboH63Ytq/bd0P8C0XxwWdluOPxvTQ3QzPN8KmjjefykSP1CbdJu5lrFN4u81ti5s9rnRylTjAF3ixoofwd7FLl7Yj11/hjrBTKTbTrx0dfqSPNcmCiV4cUhy67AzmQTuh+zmzJnYOo4N9wlCrtSOmih/7qAddL1KdLpG1V9AziITgioaVFnvilPk0dRZeVe7mS4V+6ZuHlsZrp30iPxhN2vbU/eL1svd6nqWJzCSJlJNZX4bh+HMuYLRe3N7eFQsaJNodV6XVKQaAW2yO5qi61LNt20btyY96THmYFbPLHRaWN32sDqr/8+edPDecR6IDZl1iMYFyzJNgEaAATfS0GT4C0C4dkxCnJzMTK18kpzCYFb/DmpXG8Uh7RkJNr6smYQhRqyQS1TwYXKiVDU7leYZz9GKsnjCCWdeWOxSZPXea6Rg99QcBWpdEMo+w33wNUbD2lyqqgOALzg2IG0EqFA+Jm6h6GglIsPxil6dL2k9kTg7tIqxFEV5ZB9UbPG4ia1+j3Cwuky3u2pgOnqY+T75LXCFd+E9OZil8JD+45e+GuXR3CH5y3AxK0X6wh8swX2RcHzJB2ApYTgg3U7A=
|
file: "$TRAVIS_BUILD_DIR/janet-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.tar.gz"
|
||||||
secret_access_key:
|
|
||||||
secure: W4AybG9Hhe9nxRhzkHzWl4lT88hxPHHlgzGN+3v0nkweVSBsBwUn+pC2vXRb7z/ZPvJ4+0OOaGHuRV9YyguMJu/ENeV0dwxlvbxIDGZdmcim3iu60fLvh1d7C1FXWa1SA4y8w6dPEfp7b0hxXjhz8Pa3in23y4PSe5ZCBbg19gYpnImCdCwO21EO4tTGFWOEJqgQanIp1LMs/fKfwe6PM4NMueGrESRmhKvYcJZcDAk3j5Oi8VWv5jJPi/SiYpei06UZx23BIH6CquhnzMfAMoqoHgAFqs8qPe7l3aWL17wI8A2fJIRkJuHFKAQnEtG+Z971dGdGB6sJ4mgJHoMRLRvMuUIPzf7nBRXwtiDHqnDxO5ICiPrGuDMhW6mXsHNMyv8sI5XqCin/m88p3Toew0486oMVt+V/UIct/A73/YEYzlYPnEEhaS10RAKScM9JCVAl/+16LWaakQNPSVQ1O9QWk2BWrl7euy7z3u8KYhaC8mTYx9/dPH0MegoUiKd9eJ+fEp7H88Qh1Hp93qsGMmDaPAny3zMEzmwFmc1qNY1bt0f5kbb0bmkuiJF9lFkcSQAdDPM9/AnN/sN054ZnqwTz+3gXNWvPTN2cV3wWS448qu8EcQN3v0F/ibXmYgKakpMxrZtrMRk6SWEdh9RBEQl+5ozbrdVZNB4/CNC1EKc=
|
|
||||||
bucket: janet-releases
|
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
upload_dir: travis-builds/$TRAVIS_COMMIT/$TRAVIS_BUILD_NUMBER
|
draft: true
|
||||||
on:
|
on:
|
||||||
branch: stable
|
tags: true
|
||||||
|
8
Makefile
8
Makefile
@ -157,12 +157,18 @@ clean-natives:
|
|||||||
##### Other #####
|
##### Other #####
|
||||||
#################
|
#################
|
||||||
|
|
||||||
|
dist: janet-dist.tar.gz
|
||||||
|
|
||||||
|
janet-%.tar.gz: $(JANET_TARGET) src/include/janet/janet.h janet.1 $(JANET_LIBRARY)
|
||||||
|
tar -czvf $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm $(JANET_TARGET)
|
-rm $(JANET_TARGET)
|
||||||
-rm $(JANET_LIBRARY)
|
-rm $(JANET_LIBRARY)
|
||||||
-rm ctest/*.o ctest/*.out
|
-rm ctest/*.o ctest/*.out
|
||||||
-rm src/**/*.o src/**/*.bc vgcore.* *.js *.wasm *.html
|
-rm src/**/*.o src/**/*.bc vgcore.* *.js *.wasm *.html
|
||||||
-rm src/**/*.gen.c
|
-rm src/**/*.gen.c
|
||||||
|
-rm janet-*.tar.gz
|
||||||
|
|
||||||
install: $(JANET_TARGET)
|
install: $(JANET_TARGET)
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
@ -186,5 +192,5 @@ uninstall:
|
|||||||
-rm -rf $(INCLUDEDIR)
|
-rm -rf $(INCLUDEDIR)
|
||||||
$(LDCONFIG)
|
$(LDCONFIG)
|
||||||
|
|
||||||
.PHONY: clean install repl debug valgrind test valtest install uninstall \
|
.PHONY: clean install repl debug valgrind test valtest dist install uninstall \
|
||||||
$(TEST_PROGRAM_PHONIES) $(TEST_PROGRAM_VALPHONIES)
|
$(TEST_PROGRAM_PHONIES) $(TEST_PROGRAM_VALPHONIES)
|
||||||
|
@ -42,6 +42,9 @@ artifacts:
|
|||||||
- path: janet.lib
|
- path: janet.lib
|
||||||
name: janet.lib
|
name: janet.lib
|
||||||
type: File
|
type: File
|
||||||
|
- path: src\include\janet\janet.h
|
||||||
|
name: janet.h
|
||||||
|
type: File
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: S3
|
provider: S3
|
||||||
@ -52,4 +55,4 @@ deploy:
|
|||||||
bucket: janet-releases
|
bucket: janet-releases
|
||||||
folder: $(APPVEYOR_PROJECT_SLUG)/$(APPVEYOR_BUILD_VERSION)
|
folder: $(APPVEYOR_PROJECT_SLUG)/$(APPVEYOR_BUILD_VERSION)
|
||||||
on:
|
on:
|
||||||
branch: stable
|
tags: true
|
||||||
|
Loading…
Reference in New Issue
Block a user