Selaa lähdekoodia

More cleanup (#3493)

* cleanup

* update readme
Nate 7 vuotta sitten
vanhempi
commit
bd4dbe46e6
100 muutettua tiedostoa jossa 32 lisäystä ja 1652 poistoa
  1. 30 13
      README.md
  2. 0 1
      frameworks/C++/cppcms/src/.gitignore
  3. 1 1
      frameworks/C++/cutelyst/cutelyst-framework.dockerfile
  4. 0 1
      frameworks/C++/poco/.gitignore
  5. 1 1
      frameworks/C/octane/Makefile
  6. 0 275
      frameworks/CSharp/aspnetcore/.gitignore
  7. 0 33
      frameworks/Clojure/pedestal/.gitignore
  8. 0 10
      frameworks/Crystal/amber/.gitignore
  9. 0 4
      frameworks/Crystal/crystal/.gitignore
  10. 0 4
      frameworks/Crystal/kemal/.gitignore
  11. 0 5
      frameworks/Elixir/cowboy/.gitignore
  12. 0 5
      frameworks/Elixir/phoenix/.gitignore
  13. 0 5
      frameworks/Erlang/chicagoboss/.gitignore
  14. 0 4
      frameworks/Erlang/cowboy/.gitignore
  15. 0 4
      frameworks/Erlang/elli/.gitignore
  16. 0 8
      frameworks/Erlang/mochiweb/.gitignore
  17. 0 2
      frameworks/Go/aah/.gitignore
  18. 0 31
      frameworks/Go/aah/src/benchmark/.gitignore
  19. 0 3
      frameworks/Go/beego/.gitignore
  20. 0 2
      frameworks/Go/echo/.gitignore
  21. 0 2
      frameworks/Go/falcore/.gitignore
  22. 0 2
      frameworks/Go/gin/.gitignore
  23. 0 2
      frameworks/Go/goji/.gitignore
  24. 0 2
      frameworks/Go/revel/.gitignore
  25. 0 3
      frameworks/Go/revel/src/benchmark/.gitignore
  26. 0 3
      frameworks/Go/webgo/.gitignore
  27. 0 3
      frameworks/Haskell/yesod/.gitignore
  28. 0 19
      frameworks/Java/act/.gitignore
  29. 0 3
      frameworks/Java/blade/.gitignore
  30. 0 6
      frameworks/Java/comsat/.gitignore
  31. 0 5
      frameworks/Java/curacao/.gitignore
  32. 0 10
      frameworks/Java/gemini/.gitignore
  33. 0 3
      frameworks/Java/jawn/.gitignore
  34. 0 20
      frameworks/Java/ninja-standalone/.gitignore
  35. 0 3
      frameworks/Java/play1/.gitignore
  36. 0 29
      frameworks/Java/play2-java/play2-java-ebean-hikaricp/.gitignore
  37. 0 29
      frameworks/Java/play2-java/play2-java-jooq-hikaricp/.gitignore
  38. 0 29
      frameworks/Java/play2-java/play2-java-jpa-hikaricp/.gitignore
  39. 0 30
      frameworks/Java/play2-java/play2-java/.gitignore
  40. 0 2
      frameworks/Java/restexpress/.gitignore
  41. 0 6
      frameworks/Java/revenj-jvm/.gitignore
  42. 0 3
      frameworks/Java/servlet/.gitignore
  43. 0 1
      frameworks/Java/undertow-jersey/.gitignore
  44. 0 4
      frameworks/Java/vertx-web/.gitignore
  45. 0 1
      frameworks/JavaScript/koa/.gitignore
  46. 0 6
      frameworks/Kotlin/hexagon/.gitignore
  47. 0 16
      frameworks/Kotlin/http4k/.gitignore
  48. 0 3
      frameworks/Kotlin/pronghorn/.gitignore
  49. 0 3
      frameworks/PHP/.gitignore
  50. 0 12
      frameworks/PHP/clancats/.gitignore
  51. 0 61
      frameworks/PHP/cygnite/.gitignore
  52. 0 2
      frameworks/PHP/laravel/bootstrap/cache/.gitignore
  53. 0 1
      frameworks/PHP/laravel/database/.gitignore
  54. 0 3
      frameworks/PHP/laravel/storage/app/.gitignore
  55. 0 2
      frameworks/PHP/laravel/storage/app/public/.gitignore
  56. 0 8
      frameworks/PHP/laravel/storage/framework/.gitignore
  57. 0 2
      frameworks/PHP/laravel/storage/framework/cache/.gitignore
  58. 0 2
      frameworks/PHP/laravel/storage/framework/sessions/.gitignore
  59. 0 2
      frameworks/PHP/laravel/storage/framework/testing/.gitignore
  60. 0 2
      frameworks/PHP/laravel/storage/framework/views/.gitignore
  61. 0 2
      frameworks/PHP/laravel/storage/logs/.gitignore
  62. 0 2
      frameworks/PHP/limonade/.gitignore
  63. 0 2
      frameworks/PHP/lumen/storage/app/.gitignore
  64. 0 2
      frameworks/PHP/lumen/storage/framework/cache/.gitignore
  65. 0 2
      frameworks/PHP/lumen/storage/framework/views/.gitignore
  66. 0 2
      frameworks/PHP/lumen/storage/logs/.gitignore
  67. 0 0
      frameworks/PHP/phpixie/classes/App/Model/.gitignore
  68. 0 0
      frameworks/PHP/symfony/src/Controller/.gitignore
  69. 0 0
      frameworks/PHP/symfony/src/Entity/.gitignore
  70. 0 0
      frameworks/PHP/symfony/src/Repository/.gitignore
  71. 0 3
      frameworks/Scala/http4s/.gitignore
  72. 0 67
      frameworks/Swift/swift-nio/.gitignore
  73. 0 67
      frameworks/Swift/vapor/.gitignore
  74. 0 169
      toolset/setup/linux/bash_functions.sh
  75. 0 49
      toolset/setup/linux/client.sh
  76. 0 37
      toolset/setup/linux/database.sh
  77. 0 15
      toolset/setup/linux/frameworks/grails.sh
  78. 0 14
      toolset/setup/linux/frameworks/hot.sh
  79. 0 9
      toolset/setup/linux/frameworks/luna.sh
  80. 0 14
      toolset/setup/linux/frameworks/play1.sh
  81. 0 14
      toolset/setup/linux/frameworks/siena.sh
  82. 0 21
      toolset/setup/linux/frameworks/valum.sh
  83. 0 16
      toolset/setup/linux/frameworks/vertx.sh
  84. 0 18
      toolset/setup/linux/languages/crystal.sh
  85. 0 18
      toolset/setup/linux/languages/dotnetcore.sh
  86. 0 11
      toolset/setup/linux/languages/dsl_platform.sh
  87. 0 16
      toolset/setup/linux/languages/go.sh
  88. 0 23
      toolset/setup/linux/languages/hhvm.sh
  89. 0 14
      toolset/setup/linux/languages/mono.sh
  90. 0 19
      toolset/setup/linux/languages/pypy3.sh
  91. 0 20
      toolset/setup/linux/languages/swift.sh
  92. 0 24
      toolset/setup/linux/languages/vala.sh
  93. 0 65
      toolset/setup/linux/prerequisites.sh
  94. 0 42
      toolset/setup/linux/systools/apache-apr.sh
  95. 0 12
      toolset/setup/linux/systools/clang-3.8.sh
  96. 0 14
      toolset/setup/linux/systools/cmysql.sh
  97. 0 24
      toolset/setup/linux/systools/composer.sh
  98. 0 14
      toolset/setup/linux/systools/ctls.sh
  99. 0 14
      toolset/setup/linux/systools/leiningen.sh
  100. 0 40
      toolset/setup/linux/systools/maven.sh

+ 30 - 13
README.md

@@ -9,31 +9,24 @@ If you're new to the project, welcome! Please feel free to ask questions [here](
 
 
 This project provides representative performance measures across a wide field of web application frameworks. With much help from the community, coverage is quite broad and we are happy to broaden it further with contributions. The project presently includes frameworks on many languages including `Go`, `Python`, `Java`, `Ruby`, `PHP`, `C#`, `Clojure`, `Groovy`, `Dart`, `JavaScript`, `Erlang`, `Haskell`, `Scala`, `Perl`, `Lua`, `C`, and others.  The current tests exercise plaintext responses, JSON seralization, database reads and writes via the object-relational mapper (ORM), collections, sorting, server-side templates, and XSS counter-measures. Future tests will exercise other components and greater computation.
 This project provides representative performance measures across a wide field of web application frameworks. With much help from the community, coverage is quite broad and we are happy to broaden it further with contributions. The project presently includes frameworks on many languages including `Go`, `Python`, `Java`, `Ruby`, `PHP`, `C#`, `Clojure`, `Groovy`, `Dart`, `JavaScript`, `Erlang`, `Haskell`, `Scala`, `Perl`, `Lua`, `C`, and others.  The current tests exercise plaintext responses, JSON seralization, database reads and writes via the object-relational mapper (ORM), collections, sorting, server-side templates, and XSS counter-measures. Future tests will exercise other components and greater computation.
 
 
-[Read more and see the results of our tests on Amazon EC2 and physical hardware](http://www.techempower.com/benchmarks/). 
-For descriptions of the test types that we run, see the 
+[Read more and see the results of our tests on cloud and physical hardware](http://www.techempower.com/benchmarks/). For descriptions of the test types that we run, see the 
 [test requirements section](https://frameworkbenchmarks.readthedocs.org/en/latest/Project-Information/Framework-Tests/).
 [test requirements section](https://frameworkbenchmarks.readthedocs.org/en/latest/Project-Information/Framework-Tests/).
 
 
 If you find yourself in a directory or file that you're not sure what the purpose is, checkout our [file structure](http://frameworkbenchmarks.readthedocs.org/en/latest/Codebase/#file-structure) in our documenation, which will briefly explain the use of relevant directories and files.
 If you find yourself in a directory or file that you're not sure what the purpose is, checkout our [file structure](http://frameworkbenchmarks.readthedocs.org/en/latest/Codebase/#file-structure) in our documenation, which will briefly explain the use of relevant directories and files.
 
 
 ## Quick Start Guide
 ## Quick Start Guide
 
 
-Get started developing quickly by utilizing vagrant with TFB. [Git](https://git-scm.com), 
-[Virtualbox](https://www.virtualbox.org/) and [vagrant](https://www.vagrantup.com/) are 
-required.
+To get started developing you'll need to install [docker](https://docs.docker.com/install/) or see our [Quick Start Guide using vagrant](.#quick-start-guide-(vagrant))
 
 
 1. Clone TFB.
 1. Clone TFB.
 
 
         $ git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
         $ git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
 
 
-2. Change directories
-
-        $ cd FrameworkBenchmarks/deployment/vagrant
-
-3. Create the TFB Docker virtual network
+2. Create the TFB Docker virtual network
 
 
         $ docker network create tfb
         $ docker network create tfb
 
 
-4. Run a test.
+3. Run a test.
 
 
         $ docker run -it --network=tfb -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=[ABS PATH TO THIS DIR],target=/FrameworkBenchmarks techempower/tfb --mode verify --test gemini
         $ docker run -it --network=tfb -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=[ABS PATH TO THIS DIR],target=/FrameworkBenchmarks techempower/tfb --mode verify --test gemini
 
 
@@ -65,6 +58,30 @@ Now you can run the toolset via `tfb`:
 - Docker expects Linux-style paths. If you cloned on your `C:\` drive, then `[ABS PATH TO THIS DIR]` would be `/c/FrameworkBenchmarks`.
 - Docker expects Linux-style paths. If you cloned on your `C:\` drive, then `[ABS PATH TO THIS DIR]` would be `/c/FrameworkBenchmarks`.
 - [Docker for Windows](https://www.docker.com/docker-windows) understands `/var/run/docker.sock` even though that is not a valid path on Windows. [Docker Toolbox](https://docs.docker.com/toolbox/toolbox_install_windows/) **may** not - use at your own risk.
 - [Docker for Windows](https://www.docker.com/docker-windows) understands `/var/run/docker.sock` even though that is not a valid path on Windows. [Docker Toolbox](https://docs.docker.com/toolbox/toolbox_install_windows/) **may** not - use at your own risk.
 
 
+## Quick Start Guide (Vagrant)
+
+Get started developing quickly by utilizing vagrant with TFB. [Git](https://git-scm.com), 
+[Virtualbox](https://www.virtualbox.org/) and [vagrant](https://www.vagrantup.com/) are 
+required.
+
+1. Clone TFB.
+
+        $ git clone https://github.com/TechEmpower/FrameworkBenchmarks.git
+
+2. Change directories
+
+        $ cd FrameworkBenchmarks/deployment/vagrant
+
+3. Build the vagrant virtual machine
+
+        $ vagrant up
+
+4. Run a test
+
+        $ vagrant ssh
+        $ tfb --mode verify --test gemini
+
+
 ## Add a New Test
 ## Add a New Test
 
 
 Once you open an SSH connection to your vagrant box, start the new test initialization wizard.
 Once you open an SSH connection to your vagrant box, start the new test initialization wizard.
@@ -85,10 +102,10 @@ If you find any errors or areas for improvement within the docs, feel free to ei
 Results of continuous benchmarking runs are available in real time [here](https://tfb-status.techempower.com/).
 Results of continuous benchmarking runs are available in real time [here](https://tfb-status.techempower.com/).
 
 
 #### Data Visualization
 #### Data Visualization
-If you have a `results.json` file that you would like to visualize, you can [do that here](https://www.techempower.com/benchmarks/#section=test)(these will be visualized using the metadata from the last known round; if you are adding a new test, it will not visualize anything). You can also attach a `runid` parameter to that url where `runid` is a run listed on [tfb-status](https://tfb-status.techempower.com) like so: https://www.techempower.com/benchmarks/#section=test&runid=fd07b64e-47ce-411e-8b9b-b13368e988c6
+If you have a `results.json` file that you would like to visualize, you can [do that here](https://www.techempower.com/benchmarks/#section=test). You can also attach a `runid` parameter to that url where `runid` is a run listed on [tfb-status](https://tfb-status.techempower.com) like so: https://www.techempower.com/benchmarks/#section=test&runid=fd07b64e-47ce-411e-8b9b-b13368e988c6
 
 
 ## Contributing
 ## Contributing
 
 
 The community has consistently helped in making these tests better, and we welcome any and all changes. Reviewing our contribution practices and guidelines will help to keep us all on the same page. The [contribution guide](https://frameworkbenchmarks.readthedocs.org/en/latest/Development/Contributing-Guide/) can be found in the [TFB documentation](https://frameworkbenchmarks.readthedocs.org/).
 The community has consistently helped in making these tests better, and we welcome any and all changes. Reviewing our contribution practices and guidelines will help to keep us all on the same page. The [contribution guide](https://frameworkbenchmarks.readthedocs.org/en/latest/Development/Contributing-Guide/) can be found in the [TFB documentation](https://frameworkbenchmarks.readthedocs.org/).
 
 
-Join in the conversation at our [Google Group](https://groups.google.com/forum/?fromgroups=#!forum/framework-benchmarks), or chat with us on [Freenode](https://webchat.freenode.net/) at `#techempower-fwbm`. 
+Join in the conversation on our [mailing list](https://groups.google.com/forum/?fromgroups=#!forum/framework-benchmarks), on [Twitter](https://twitter.com/tfbenchmarks), or chat with us on [Freenode](https://webchat.freenode.net/) at `#techempower-fwbm`. 

+ 0 - 1
frameworks/C++/cppcms/src/.gitignore

@@ -1 +0,0 @@
-fortunes_view.cpp

+ 1 - 1
frameworks/C++/cutelyst/cutelyst-framework.dockerfile

@@ -2,7 +2,7 @@ FROM techempower/cutelyst-deps:0.1
 
 
 ENV CUTELYST_VER=2.0.1
 ENV CUTELYST_VER=2.0.1
 
 
-RUN wget https://github.com/cutelyst/cutelyst/archive/v$CUTELYST_VER.tar.gz -O cutelyst-$CUTELYST_VER.tar.gz && \
+RUN wget -q https://github.com/cutelyst/cutelyst/archive/v$CUTELYST_VER.tar.gz -O cutelyst-$CUTELYST_VER.tar.gz && \
     tar zxf cutelyst-$CUTELYST_VER.tar.gz && \
     tar zxf cutelyst-$CUTELYST_VER.tar.gz && \
     cd cutelyst-$CUTELYST_VER && mkdir build && cd build && \
     cd cutelyst-$CUTELYST_VER && mkdir build && cd build && \
     cmake .. \
     cmake .. \

+ 0 - 1
frameworks/C++/poco/.gitignore

@@ -1 +0,0 @@
-/poco

+ 1 - 1
frameworks/C/octane/Makefile

@@ -91,7 +91,7 @@ $(tcmalloc_path):
 	cd $(tcmalloc_path);make
 	cd $(tcmalloc_path);make
 
 
 $(lockless_path):
 $(lockless_path):
-	if [ ! -d "$(lockless_path)" ]; then wget https://locklessinc.com/downloads/lockless_allocator_src.tgz -P lib; fi
+	if [ ! -d "$(lockless_path)" ]; then wget -q https://locklessinc.com/downloads/lockless_allocator_src.tgz -P lib; fi
 	cd lib;tar xvzf lockless_allocator_src.tgz
 	cd lib;tar xvzf lockless_allocator_src.tgz
 	cd lib/lockless_allocator;make
 	cd lib/lockless_allocator;make
 
 

+ 0 - 275
frameworks/CSharp/aspnetcore/.gitignore

@@ -1,275 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-##
-## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# .NET Core
-project.lock.json
-project.fragment.lock.json
-artifacts/
-**/Properties/launchSettings.json
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# Visual Studio code coverage results
-*.coverage
-*.coveragexml
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignoreable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.jfm
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
-*.vbw
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# CodeRush
-.cr/
-
-# Python Tools for Visual Studio (PTVS)
-__pycache__/
-*.pyc
-
-# Cake - Uncomment if you are using it
-# tools/**
-# !tools/packages.config

+ 0 - 33
frameworks/Clojure/pedestal/.gitignore

@@ -1,33 +0,0 @@
-# Java related
-pom.xml
-pom.xml.asc
-*jar
-*.class
-
-# Leiningen
-classes/
-lib/
-native/
-checkouts/
-target/
-.lein-*
-repl-port
-.nrepl-port
-.repl
-
-# Temp Files
-*.orig
-*~
-.*.swp
-.*.swo
-*.tmp
-*.bak
-
-# OS X
-.DS_Store
-
-# Logging
-*.log
-/logs/
-
-

+ 0 - 10
frameworks/Crystal/amber/.gitignore

@@ -1,10 +0,0 @@
-/doc/
-/lib/
-/.crystal/
-/.shards/
-/.vscode/
-/spec/
-/db/
-.env
-amber
-!shard.lock

+ 0 - 4
frameworks/Crystal/crystal/.gitignore

@@ -1,4 +0,0 @@
-lib/
-.crystal
-.shards
-!shard.lock

+ 0 - 4
frameworks/Crystal/kemal/.gitignore

@@ -1,4 +0,0 @@
-lib/
-.crystal
-.shards
-!shard.lock

+ 0 - 5
frameworks/Elixir/cowboy/.gitignore

@@ -1,5 +0,0 @@
-_build/
-rel/
-deps/
-erl_crash.dump
-*.ez

+ 0 - 5
frameworks/Elixir/phoenix/.gitignore

@@ -1,5 +0,0 @@
-_build/
-rel/
-deps/
-erl_crash.dump
-*.ez

+ 0 - 5
frameworks/Erlang/chicagoboss/.gitignore

@@ -1,5 +0,0 @@
-erl_crash.dump
-deps
-ebin
-.rebar
-/log/

+ 0 - 4
frameworks/Erlang/cowboy/.gitignore

@@ -1,4 +0,0 @@
-erl_crash.dump
-deps
-ebin
-.rebar

+ 0 - 4
frameworks/Erlang/elli/.gitignore

@@ -1,4 +0,0 @@
-erl_crash.dump
-deps
-ebin
-.rebar

+ 0 - 8
frameworks/Erlang/mochiweb/.gitignore

@@ -1,8 +0,0 @@
-.eunit
-deps
-ebin
-*.o
-*.beam
-*.plt
-erl_crash.dump
-/.rebar/

+ 0 - 2
frameworks/Go/aah/.gitignore

@@ -1,2 +0,0 @@
-bin/
-pkg/

+ 0 - 31
frameworks/Go/aah/src/benchmark/.gitignore

@@ -1,31 +0,0 @@
-# aah framework application - .gitignore
-
-aah.go
-*.pid
-build/
-vendor/*/
-
-# Compiled Object files, Static and Dynamic libs (Shared Objects)
-*.o
-*.a
-*.so
-
-# Folders
-_obj
-_test
-
-# Architecture specific extensions/prefixes
-*.[568vq]
-[568vq].out
-
-*.cgo1.go
-*.cgo2.c
-_cgo_defun.c
-_cgo_gotypes.go
-_cgo_export.*
-
-_testmain.go
-
-*.exe
-*.test
-*.prof

+ 0 - 3
frameworks/Go/beego/.gitignore

@@ -1,3 +0,0 @@
-/src/github.com/
-/pkg/linux_amd64/
-vendor

+ 0 - 2
frameworks/Go/echo/.gitignore

@@ -1,2 +0,0 @@
-/pkg/
-/src/vendor

+ 0 - 2
frameworks/Go/falcore/.gitignore

@@ -1,2 +0,0 @@
-/pkg/linux_amd64/
-/src/github.com/

+ 0 - 2
frameworks/Go/gin/.gitignore

@@ -1,2 +0,0 @@
-/pkg/
-/src/

+ 0 - 2
frameworks/Go/goji/.gitignore

@@ -1,2 +0,0 @@
-src/github.com/
-pkg/

+ 0 - 2
frameworks/Go/revel/.gitignore

@@ -1,2 +0,0 @@
-/src/github.com/
-bin/

+ 0 - 3
frameworks/Go/revel/src/benchmark/.gitignore

@@ -1,3 +0,0 @@
-test-results/
-tmp/
-routes/

+ 0 - 3
frameworks/Go/webgo/.gitignore

@@ -1,3 +0,0 @@
-/pkg/linux_amd64/
-/src/github.com/
-/src/golang.org/

+ 0 - 3
frameworks/Haskell/yesod/.gitignore

@@ -1,3 +0,0 @@
-yesod-postgres/.stack-work/
-yesod-mysql-mongo/.stack-work/
-

+ 0 - 19
frameworks/Java/act/.gitignore

@@ -1,19 +0,0 @@
-*.class
-.classpath
-.project
-.settings
-.vscode
-# Package Files #
-*.jar
-*.war
-*.ear
-*.pid
-lib
-target
-.idea
-classes
-*.iml
-deploy
-**/.act*
-git.log
-

+ 0 - 3
frameworks/Java/blade/.gitignore

@@ -1,3 +0,0 @@
-.idea
-*.iml
-/target/

+ 0 - 6
frameworks/Java/comsat/.gitignore

@@ -1,6 +0,0 @@
-.gradle
-build/
-gradle-app.setting
-!gradle-wrapper.jar
-.idea
-*.iml

+ 0 - 5
frameworks/Java/curacao/.gitignore

@@ -1,5 +0,0 @@
-/target
-/.project
-/.classpath
-/.cache
-/dist

+ 0 - 10
frameworks/Java/gemini/.gitignore

@@ -1,10 +0,0 @@
-Docroot/WEB-INF/classes/
-Docroot/WEB-INF/work/
-Docroot/WEB-INF/lib/
-Logs/
-jdbc-alerts.log
-Thumbs.db
-resin-data
-Thread Dumps/
-.settings/
-build.properties

+ 0 - 3
frameworks/Java/jawn/.gitignore

@@ -1,3 +0,0 @@
-.README.md.html
-.gradle
-build/

+ 0 - 20
frameworks/Java/ninja-standalone/.gitignore

@@ -1,20 +0,0 @@
-.DS_Store
-*.pyc
-installs/
-*.log
-*.lock
-node_modules/
-*.war
-target/
-*.out
-*.class
-mods/
-/.settings
-/.buildpath
-/.project
-*.iml
-.idea/
-.hsenv/
-azure.err
-*~
-/.classpath

+ 0 - 3
frameworks/Java/play1/.gitignore

@@ -1,3 +0,0 @@
-precompiled/*
-/server.pid
-/tmp/

+ 0 - 29
frameworks/Java/play2-java/play2-java-ebean-hikaricp/.gitignore

@@ -1,29 +0,0 @@
-logs
-project/project
-project/target
-target
-tmp
-.history
-dist
-
-# Ignore all dotfiles...
-.*
-# except for .gitignore
-!.gitignore
-
-# Ignore Play! working directory #
-db
-eclipse
-lib
-log
-logs
-modules
-precompiled
-project/project
-project/target
-target
-tmp
-test-result
-server.pid
-*.iml
-*.eml

+ 0 - 29
frameworks/Java/play2-java/play2-java-jooq-hikaricp/.gitignore

@@ -1,29 +0,0 @@
-logs
-project/project
-project/target
-target
-tmp
-.history
-dist
-
-# Ignore all dotfiles...
-.*
-# except for .gitignore
-!.gitignore
-
-# Ignore Play! working directory #
-db
-eclipse
-lib
-log
-logs
-modules
-precompiled
-project/project
-project/target
-target
-tmp
-test-result
-server.pid
-*.iml
-*.eml

+ 0 - 29
frameworks/Java/play2-java/play2-java-jpa-hikaricp/.gitignore

@@ -1,29 +0,0 @@
-logs
-project/project
-project/target
-target
-tmp
-.history
-dist
-
-# Ignore all dotfiles...
-.*
-# except for .gitignore
-!.gitignore
-
-# Ignore Play! working directory #
-db
-eclipse
-lib
-log
-logs
-modules
-precompiled
-project/project
-project/target
-target
-tmp
-test-result
-server.pid
-*.iml
-*.eml

+ 0 - 30
frameworks/Java/play2-java/play2-java/.gitignore

@@ -1,30 +0,0 @@
-logs
-project/project
-project/target
-target
-tmp
-.history
-dist
-
-# Ignore all dotfiles...
-.*
-# except for .gitignore
-!.gitignore
-
-# Ignore Play! working directory #
-db
-eclipse
-lib
-log
-logs
-modules
-precompiled
-project/project
-project/target
-target
-tmp
-test-result
-server.pid
-*.iml
-*.eml
-

+ 0 - 2
frameworks/Java/restexpress/.gitignore

@@ -1,2 +0,0 @@
-.settings/
-.classpath

+ 0 - 6
frameworks/Java/revenj-jvm/.gitignore

@@ -1,6 +0,0 @@
-dsl-clc.jar
-dsl-compiler.*
-*.zip
-revenj.java/
-target/
-model/

+ 0 - 3
frameworks/Java/servlet/.gitignore

@@ -1,3 +0,0 @@
-lib/
-work/
-*.bat

+ 0 - 1
frameworks/Java/undertow-jersey/.gitignore

@@ -1 +0,0 @@
-/dependency-reduced-pom.xml

+ 0 - 4
frameworks/Java/vertx-web/.gitignore

@@ -1,4 +0,0 @@
-.idea
-.vertx
-target
-*.iml

+ 0 - 1
frameworks/JavaScript/koa/.gitignore

@@ -1 +0,0 @@
-node_modules/

+ 0 - 6
frameworks/Kotlin/hexagon/.gitignore

@@ -1,6 +0,0 @@
-
-build/
-log/
-.gradle/
-*~
-

+ 0 - 16
frameworks/Kotlin/http4k/.gitignore

@@ -1,16 +0,0 @@
-.gradle
-build/
-target/
-project/target
-bin/
-logs/
-.idea/
-.cache
-.classpath
-.project
-/bin/
-docker/
-tools/
-sbt
-sql/
-results*

+ 0 - 3
frameworks/Kotlin/pronghorn/.gitignore

@@ -1,3 +0,0 @@
-.gradle
-build/
-out/

+ 0 - 3
frameworks/PHP/.gitignore

@@ -1,3 +0,0 @@
-
-# allow composer.lock files in top level directories for all PHP frameworks
-!/*/composer.lock

+ 0 - 12
frameworks/PHP/clancats/.gitignore

@@ -1,12 +0,0 @@
-public/assets/packtacular/
-CCF/app/config/migrator.json
-vendor/
-storage/
-.DS_Store
-Thumbs.db
-composer.phar
-phpunit.xml
-phpunit.phar
-report/
-run
-clancatsapp/

+ 0 - 61
frameworks/PHP/cygnite/.gitignore

@@ -1,61 +0,0 @@
-#Build System
-**/builds/*
-
-#bower
-/bower_components
-
-#Binary files
-/bin/
-
-#Grunt
-/node_modules/*
-
-# Composer
-/vendor/
-composer.phar
-
-# Code Coverage
-build/coverage/*
-
-# always-ignore extensionsalways-ignore extensions
-*.diff
-*.err
-*.orig
-*.log
-*.rej
-*.swo
-*.swp
-*.vi
-*~
-*.sass-cache
-
-# OS or Editor folders
-.DS_Store
-Thumbs.db
-.cache
-.project
-.settings
-.tmproj
-*.esproj
-nbproject
-
-# Dreamweaver added files
-_notes
-dwsync.xml
-
-# Komodo
-*.komodoproject
-.komodotools
-
-# Folders to ignore
-.hg
-.svn
-.CVS
-intermediate
-publish
-.idea
-
-#Arcanist
-.arcconfig
-
-/deploy/php-fpm.pid

+ 0 - 2
frameworks/PHP/laravel/bootstrap/cache/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 1
frameworks/PHP/laravel/database/.gitignore

@@ -1 +0,0 @@
-*.sqlite

+ 0 - 3
frameworks/PHP/laravel/storage/app/.gitignore

@@ -1,3 +0,0 @@
-*
-!public/
-!.gitignore

+ 0 - 2
frameworks/PHP/laravel/storage/app/public/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 8
frameworks/PHP/laravel/storage/framework/.gitignore

@@ -1,8 +0,0 @@
-config.php
-routes.php
-schedule-*
-compiled.php
-services.json
-events.scanned.php
-routes.scanned.php
-down

+ 0 - 2
frameworks/PHP/laravel/storage/framework/cache/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/laravel/storage/framework/sessions/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/laravel/storage/framework/testing/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/laravel/storage/framework/views/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/laravel/storage/logs/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/limonade/.gitignore

@@ -1,2 +0,0 @@
-vendor
-deploy/php-fpm.pid

+ 0 - 2
frameworks/PHP/lumen/storage/app/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/lumen/storage/framework/cache/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/lumen/storage/framework/views/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 2
frameworks/PHP/lumen/storage/logs/.gitignore

@@ -1,2 +0,0 @@
-*
-!.gitignore

+ 0 - 0
frameworks/PHP/phpixie/classes/App/Model/.gitignore


+ 0 - 0
frameworks/PHP/symfony/src/Controller/.gitignore


+ 0 - 0
frameworks/PHP/symfony/src/Entity/.gitignore


+ 0 - 0
frameworks/PHP/symfony/src/Repository/.gitignore


+ 0 - 3
frameworks/Scala/http4s/.gitignore

@@ -1,3 +0,0 @@
-target
-projet/target
-.cache

+ 0 - 67
frameworks/Swift/swift-nio/.gitignore

@@ -1,67 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-*.xcodeproj
-
-## Build generated
-build/
-DerivedData/
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata/
-
-## Other
-*.moved-aside
-*.xcuserstate
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-*.dSYM.zip
-*.dSYM
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots
-fastlane/test_output

+ 0 - 67
frameworks/Swift/vapor/.gitignore

@@ -1,67 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-*.xcodeproj
-
-## Build generated
-build/
-DerivedData/
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata/
-
-## Other
-*.moved-aside
-*.xcuserstate
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-*.dSYM.zip
-*.dSYM
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots
-fastlane/test_output

+ 0 - 169
toolset/setup/linux/bash_functions.sh

@@ -1,169 +0,0 @@
-#!/bin/bash
-
-export DEBIAN_FRONTEND=noninteractive
-
-# If you are running a large number of installs back to back 
-# (e.g. for FwBm development), then setting this variable 
-# will cause apt-get and wget to use your proxy server. If 
-# your proxy server has a cache for static content, this can 
-# save you quite a lot of download time
-# export http_proxy=http://10.0.1.0:3128
-
-fw_get () {
-  # Start a background process to print a dot every
-  # 30 seconds (avoids travis-ci 10min timeout)
-  while :;do sleep 30; echo -n .;done &
-
-  # -no-verbose disables the big progress bars but keeps
-  # other basic info
-  #wget --no-verbose --no-check-certificate \
-  #  --trust-server-names "$@"
-  # DEPRECATED - older versions of wget use SSLv3 for handshaking
-  # and therefore don't work (Ubuntu12, for instance).
-  # Use curl instead (-s means silent; -L means follow 3xx responses)
-  curl -sL "$@"
-
-  # Ensure the background job is killed if we are
-  kill $!; trap 'kill $!' SIGTERM
-}
-
-fw_untar() {
-  echo "Running 'tar xf $@'...please wait"
-  tar xf "$@"
-  echo "Removing compressed tar file"
-  
-  # use -f to avoid printing errors if they gave additional arguments
-  rm -f "$@"
-}
-
-fw_unzip() {
-  echo "Running 'unzip $@'...please wait"
-  unzip -o -q "$@"
-  echo "Removing compressed zip file"
-  # use -f to avoid printing errors if they gave additional arguments
-  rm -f "$@"
-}
-
-# Download *.deb file and install into IROOT 
-# Cautions:
-#   Without using sudo,
-#   Does not download dependant packages.
-#   script will be stuck and will not make progress. (e.g: CSharp/nancy)
-# Example: fw_apt_to_iroot <package> [<directory>]
-fw_apt_to_iroot() {
-  DIR=${2:-$1}
-  echo "Downloading $1 to $IROOT"
-  sudo apt-get download $1
-  echo "Extracting $1 to $DIR"
-  sudo dpkg-deb -x $1*.deb "$IROOT/$DIR" && sudo rm $1*.deb
-}
-
-# Was there an error for the current dependency?
-FW_dep_error=0
-# Have we seen any errors?
-FW_any_errors=0
-fw_traperror () {
-  depend=$1      # Dependency being installed
-  err=$2         # error status
-  line=$3        # Current line
-  command="$4"   # Bash command
-  IFS=':' read -a funcstack <<< "$5" # Stack (function names)
-  IFS=':' read -a bashstack <<< "$6" # Stack (file names)
-  IFS=':' read -a linestack <<< "$7" # Stack (line numbers)
-  FW_dep_error=1
-  FW_any_errors=1
-
-  wd=$(pwd)
-  relative_wd=\$FWROOT${wd#$FWROOT}
-  
-  echo "ERROR: $(echo ${bashstack[1]#$FWROOT}): Command '$command' exited with status $err (dependency=$depend) (cwd=$relative_wd)"
-  #echo "  Function stack    : ${funcstack[@]}"
-  #echo "  Bash source stack : ${bashstack[@]}"
-  #echo "  Bash line stack   : ${linestack[@]}"
-}
-
-# Requires dependencies to come in order e.g. Nimrod before
-# Jester, etc. Users should be know this 
-# fairly well (e.g. you can't use Yaf without PHP)
-fw_depends() {
-  # Turn on errtrace (-E), so that our ERR
-  # trap is passed on to any subshells
-  set -E
-
-  for depend in "$@"
-  do
-    depend=$(echo $depend | awk '{print tolower($0)}')
-    echo Searching for $depend
-    trap 'fw_traperror $depend $? $LINENO "$BASH_COMMAND" $(printf ":%s" ${FUNCNAME[@]}) $(printf ":%s" ${BASH_SOURCE[@]}) $(printf ":%s" ${BASH_LINENO[@]})'  ERR
-    retcode=0
-
-    # Ensure we are inside the installer root for this framework
-    pushd $IROOT
-    wd=$(pwd)
-    relative_wd=\$FWROOT${wd#$FWROOT}
-
-    # Find and run the installer.sh file for this dependency
-    # Turn on some bash options before sourcing: 
-    #   - (x) errtrace : Print commands before they are run
-    # Note: A shebang is just a comment when you source a script, 
-    #       so if you need to modify the default options use  
-    #       `set -e` instead of `#!/bin/bash -e`
-    installation_file=$( find ${FWROOT}/toolset/setup/linux -name ${depend}.sh )
-    if [[ -n $installation_file ]]; then
-      echo Installing dependency: $depend from $installation_file
-      set -x
-      . $installation_file
-    else
-      echo WARN: No installer found for $depend, attempting to install with 'apt-get'...
-      sudo apt-get install -qqy -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confdef" ${depend}
-      # Return whence you came.
-      popd
-      continue
-    fi
-    set +x
-
-    # Return whence you came.
-    popd
-
-    # For a sourced script to pass, all internal commands must return
-    # non-zero. If you want to intentionally cause a failed install
-    # message, just return a non-zero status from the sourced script
-    if [ $FW_dep_error -ne 0 ]; then
-      echo ERROR: $depend may not be installed properly
-
-      # Reset variable for the next dependencies
-      FW_dep_error=0
-    else
-      echo $depend is installed!
-    fi
-  done
-
-  # Politely clean up our trap and trace
-  set +E
-  trap - ERR
-
-  return $FW_any_errors
-}
-
-# Echo's 0 if file or directory exists
-# To be used with or || blocks, avoids triggering our ERR 
-# trap with a return 1 statement
-fw_exists() {
-  if [ -f $1 ] || [ -d $1 ]; then
-    echo 0
-  else
-    echo 1
-  fi 
-}
-
-# Checks to see if an installation exists and sources the install
-# file if it does
-fw_installed() {
-  if [ -f "$IROOT/$1.installed" ]; then
-    source "$IROOT/$1.installed"
-    return 0
-  else
-    return 1
-  fi     
-}
-

+ 0 - 49
toolset/setup/linux/client.sh

@@ -1,49 +0,0 @@
-#!/bin/bash
-
-export DEBIAN_FRONTEND=noninteractive
-
-##############################
-# Prerequisites
-##############################
-sudo apt-get -y update
-
-# WARNING: DONT PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
-# Dpkg::Options avoid hangs on Travis-CI, doesn't affect clean systems
-sudo apt-get -y install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
-    build-essential git libev-dev libpq-dev libreadline6-dev
-
-# TODO: this is likely going away with docker implementation (docker provides a ulimit cli arg)
-sudo sh -c "echo '*               -    nofile          65535' >> /etc/security/limits.conf"
-
-##############################
-# wrk
-##############################
-
-rm -rf wrk-4.0.1.tar.gz wrk-4.0.1
-curl -sL -o wrk-4.0.1.tar.gz https://github.com/wg/wrk/archive/4.0.1.tar.gz
-tar xzf wrk-4.0.1.tar.gz
-cd wrk-4.0.1
-make
-sudo cp wrk /usr/local/bin
-cd ~
-
-#############################
-# pipeline.lua
-#############################
-rm -rf pipeline.lua
-cat << EOF | tee pipeline.lua
-init = function(args)
-  local r = {}
-  local depth = tonumber(args[1]) or 1
-  for i=1,depth do
-    r[i] = wrk.format()
-  end
-  req = table.concat(r)
-end
-
-request = function()
-  return req
-end
-EOF
-
-echo "Successfully installed software on client machine!"

+ 0 - 37
toolset/setup/linux/database.sh

@@ -1,37 +0,0 @@
-#!/bin/bash
-
-export DEBIAN_FRONTEND=noninteractive
-
-#############################
-# Prerequisites
-#############################
-sudo apt-get -y update
-
-# WARNING: DON'T PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
-# Dpkg::Options avoid hangs on Travis-CI, doesn't affect clean systems
-sudo apt-get -y install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
-  linux-image-extra-$(uname -r) `# Needed for Docker on Ubuntu 14` \
-  linux-image-extra-virtual     `# Needed for Docker on Ubuntu 14` \
-  apt-transport-https           `# Needed for Docker on Ubuntu 14` \
-  ca-certificates               `# Needed for Docker on Ubuntu 14` \
-  curl                          `# Needed for Docker on Ubuntu 14` \
-  software-properties-common    `# Needed for Docker on Ubuntu 14`
-
-# TODO: this is likely going away with docker implementation (docker provides a ulimit cli arg)
-sudo sh -c "echo '*               -    nofile          65535' >> /etc/security/limits.conf"
-
-#
-# Install Docker
-#
-curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-sudo add-apt-repository \
-   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
-   $(lsb_release -cs) \
-   stable"
-sudo apt-get update
-# TODO: this doesn't work on real machines; only single-server setups which conveniently have docker already
-sudo apt-get -qqy install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"  docker-ce
-if ! sudo grep -q -E "^docker:" /etc/group; then
-  sudo groupadd docker
-  sudo usermod -aG docker $USER
-fi

+ 0 - 15
toolset/setup/linux/frameworks/grails.sh

@@ -1,15 +0,0 @@
-#!/bin/bash
-
-fw_installed grails && return 0
-
-VERSION="2.4.4"
-GRAILS_HOME=$IROOT/grails-$VERSION
-
-fw_get -O http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-$VERSION.zip
-fw_unzip grails-$VERSION.zip
-
-echo "export GRAILS_HOME=${GRAILS_HOME}" > $IROOT/grails.installed
-echo -e "export PATH=\$GRAILS_HOME/bin:\$PATH" >> $IROOT/grails.installed
-echo "export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache" >> $IROOT/grails.installed
-
-source $IROOT/grails.installed

+ 0 - 14
toolset/setup/linux/frameworks/hot.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_installed hot && return 0
-
-VERSION="0.9.2-SNAPSHOT"
-HOT_HOME=$IROOT/hot-$VERSION
-
-fw_get -O https://github.com/dsolimando/Hot/releases/download/${VERSION}/hot-${VERSION}.tar.gz
-fw_untar hot-$VERSION.tar.gz
-
-echo "export HOT_HOME=${HOT_HOME}" > $IROOT/hot.installed
-echo -e "export PATH=\$HOT_HOME:\$PATH" >> $IROOT/hot.installed
-
-source $IROOT/hot.installed

+ 0 - 9
toolset/setup/linux/frameworks/luna.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-
-fw_depends gcc-4.9 conan
-
-fw_installed luna && return 0
-
-echo "" > $IROOT/luna.installed
-
-source $IROOT/luna.installed

+ 0 - 14
toolset/setup/linux/frameworks/play1.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_installed play1 && return 0
-
-VERSION="1.5.0"
-PLAY1_HOME=$IROOT/play-$VERSION
-
-fw_get -O https://downloads.typesafe.com/play/$VERSION/play-$VERSION.zip
-fw_unzip play-$VERSION.zip
-
-echo "export PLAY1_HOME=${PLAY1_HOME}" > $IROOT/play1.installed
-echo -e "export PATH=\$PLAY1_HOME:\$PATH" >> $IROOT/play1.installed
-
-source $IROOT/play1.installed

+ 0 - 14
toolset/setup/linux/frameworks/siena.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_depends play1
-
-fw_installed siena && return 0
-
-VERSION="2.0.6"
-SIENNA=$IROOT/siena-$VERSION
-
-yes | play install siena-2.0.6
-
-echo "" > $IROOT/siena.installed
-
-source $IROOT/siena.installed

+ 0 - 21
toolset/setup/linux/frameworks/valum.sh

@@ -1,21 +0,0 @@
-#!/bin/bash
-
-VALUM_VERSION="0.3.12"
-
-fw_depends meson ninja vala
-
-fw_installed valum && return 0
-
-sudo apt-get install -y libglib2.0-dev libsoup2.4-dev
-
-fw_get -O https://github.com/valum-framework/valum/archive/v${VALUM_VERSION}.tar.gz
-fw_untar v${VALUM_VERSION}.tar.gz
-(
-	cd valum-${VALUM_VERSION}
-	rm -rf build
-	meson --prefix=${IROOT}/vala --buildtype=release --libdir=lib build # install along Vala for convenience
-	ninja -C build
-	ninja -C build install
-)
-
-touch ${IROOT}/valum.installed

+ 0 - 16
toolset/setup/linux/frameworks/vertx.sh

@@ -1,16 +0,0 @@
-#!/bin/bash
-
-fw_installed vertx && return 0
-
-VERSION="2.1.5"
-FREEMAKER_VERSION="2.3.22"
-VERTX_HOME=$IROOT/vert.x-$VERSION
-
-fw_get -o vert.x-${VERSION}.tar.gz http://dl.bintray.com/vertx/downloads/vert.x-${VERSION}.tar.gz?direct=true
-fw_untar vert.x-${VERSION}.tar.gz
-fw_get -o $IROOT/vert.x-${VERSION}/lib/freemarker-${FREEMAKER_VERSION}.jar http://central.maven.org/maven2/org/freemarker/freemarker/${FREEMAKER_VERSION}/freemarker-${FREEMAKER_VERSION}.jar
-
-echo "export VERTX_HOME=${VERTX_HOME}" > $IROOT/vertx.installed
-echo -e "export PATH=\$VERTX_HOME/bin:\$PATH" >> $IROOT/vertx.installed
-
-source $IROOT/vertx.installed

+ 0 - 18
toolset/setup/linux/languages/crystal.sh

@@ -1,18 +0,0 @@
-#!/bin/bash
-
-fw_installed crystal && return 0
-
-# install crystal and shards (shards is embedded in crystal release)
-
-VERSION="0.24.1"
-
-SAVE_AS=crystal-$VERSION-2-linux-x86_64.tar.gz
-URL=https://github.com/crystal-lang/crystal/releases/download/v$VERSION/crystal-$VERSION-2-linux-x86_64.tar.gz
-
-fw_get -o $SAVE_AS $URL
-
-fw_untar ${SAVE_AS}
-
-echo -e "export PATH=${IROOT}/crystal-${VERSION}/bin/:\$PATH" > $IROOT/crystal.installed
-
-source $IROOT/crystal.installed

+ 0 - 18
toolset/setup/linux/languages/dotnetcore.sh

@@ -1,18 +0,0 @@
-#!/bin/bash
-
-fw_installed dotnetcore && return 0
-
-sudo apt-get purge -y --auto-remove dotnet-dev-2.0.0-* || true
-sudo apt-get purge -y --auto-remove dotnet-sdk-2.0.0-preview* || true
-
-# https://www.microsoft.com/net/core#linuxubuntu
-curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
-sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
-sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
-sudo apt-get update
-sudo apt-get install -y dotnet-sdk-2.0.0
-
-echo "PATH=$HOME/.dotnet:$PATH" > $IROOT/dotnetcore.installed
-
-source $IROOT/dotnetcore.installed
-dotnet --info

+ 0 - 11
toolset/setup/linux/languages/dsl_platform.sh

@@ -1,11 +0,0 @@
-#!/bin/bash
-
-RETCODE=$(fw_exists ${IROOT}/dsl-compiler-1.8.installed)
-[ ! "$RETCODE" == 0 ] || { \
-  return 0; }
-
-wget -O $IROOT/dsl-compiler.zip https://github.com/ngs-doo/revenj/releases/download/1.4.2/dsl-compiler.zip
-unzip -o $IROOT/dsl-compiler.zip -d $IROOT
-rm $IROOT/dsl-compiler.zip
-
-echo "1.8" > $IROOT/dsl-compiler-1.8.installed

+ 0 - 16
toolset/setup/linux/languages/go.sh

@@ -1,16 +0,0 @@
-#!/bin/bash
-
-fw_installed go && return 0
-
-VERSION=1.9
-GOROOT=$IROOT/go
-
-fw_get -O https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz
-fw_untar go$VERSION.linux-amd64.tar.gz
-
-echo "export GOROOT=${IROOT}/go" > $IROOT/go.installed
-echo -e "export GOPATH=\$TROOT" >> $IROOT/go.installed
-echo -e "export PATH=\$GOROOT/bin:\$GOPATH/bin:\$PATH" >> $IROOT/go.installed
-echo "export GOGC=1000" >> $IROOT/go.installed
-
-source $IROOT/go.installed

+ 0 - 23
toolset/setup/linux/languages/hhvm.sh

@@ -1,23 +0,0 @@
-#!/bin/bash
-
-fw_installed hhvm && return 0
-
-# TODO: Someday move away from apt-get
-
-# Uninstall hhvm if it was previously installed.
-if [ $(dpkg-query -W -f='${Status}' hhvm 2>/dev/null | grep -c "ok installed") -eq 1 ];
-then
-  sudo apt-get remove -y hhvm
-fi
-
-fw_get http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
-
-echo deb [arch=amd64] http://dl.hhvm.com/ubuntu `lsb_release -sc`-lts-3.24 main | sudo tee /etc/apt/sources.list.d/hhvm.list
-sudo apt-get update
-sudo apt-get install -y hhvm
-
-sudo service hhvm stop
-
-echo "" > $IROOT/hhvm.installed
-
-source $IROOT/hhvm.installed

+ 0 - 14
toolset/setup/linux/languages/mono.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_installed mono && return 0
-  
-# Add source for prepackaged binaries
-sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
-echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
-sudo apt-get update
-sudo apt-get install -y mono-complete mono-fastcgi-server
-
-# Mono installs to PATH (/usr/bin/mono) :( so no env vars
-echo "# Mono installed to PATH /usr/bin " > $IROOT/mono.installed
-
-source $IROOT/mono.installed

+ 0 - 19
toolset/setup/linux/languages/pypy3.sh

@@ -1,19 +0,0 @@
-#!/bin/bash
-
-fw_installed pypy3 && return 0
-  
-PYPY3_ROOT=$IROOT/pypy3
-PYPY3_VERSION=5.10.1
-
-fw_get -o pypy3-v${PYPY_VERSION}-linux64.tar.bz2 https://bitbucket.org/pypy/pypy/downloads/pypy3-v${PYPY_VERSION}-linux64.tar.bz2
-fw_untar pypy3-v${PYPY_VERSION}-linux64.tar.bz2
-mv pypy3-v${PYPY_VERSION}-linux64 pypy3
-
-$PYPY_ROOT/bin/pypy3 -m ensurepip
-$PYPY_ROOT/bin/pip install -U pip setuptools wheel
-
-echo "export PYPY3_ROOT=${PYPY3_ROOT}" > $IROOT/pypy3.installed
-echo "export PYTHONHOME=${PYPY3_ROOT}" >> $IROOT/pypy3.installed
-echo -e "export PATH=${PYPY3_ROOT}/bin:\$PATH" >> $IROOT/pypy3.installed
-  
-source $IROOT/pypy3.installed

+ 0 - 20
toolset/setup/linux/languages/swift.sh

@@ -1,20 +0,0 @@
-#!/bin/bash
-
-fw_installed swift && return 0
-
-fw_depends clang-3.9
-
-sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 100
-sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 100
-
-sudo apt-add-repository --yes ppa:george-edison55/cmake-3.x
-sudo apt-get update -qq
-sudo apt-get install -qqy cmake
-
-fw_get -O https://swift.org/builds/swift-4.1-release/ubuntu1404/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu14.04.tar.gz
-fw_untar swift-4.1-RELEASE-ubuntu14.04.tar.gz
-mv swift-4.1-RELEASE-ubuntu14.04 swift
-
-echo -e "export PATH=${IROOT}/swift/usr/bin:\$PATH" >> $IROOT/swift.installed
-
-source $IROOT/swift.installed

+ 0 - 24
toolset/setup/linux/languages/vala.sh

@@ -1,24 +0,0 @@
-#!/bin/bash
-
-VALA_API_VERSION="0.36"
-VALA_VERSION="0.36.3"
-
-fw_installed vala && return 0
-
-sudo apt-get install -y flex libglib2.0-dev
-
-fw_get -O https://download.gnome.org/sources/vala/${VALA_API_VERSION}/vala-${VALA_VERSION}.tar.xz
-fw_untar vala-${VALA_VERSION}.tar.xz
-(
-	cd vala-${VALA_VERSION}
-	./configure --prefix=$IROOT/vala
-	make
-	make install
-	ln -s $IROOT/vala/share/vala-${VALA_API_VERSION}/vapi $IROOT/vala/share/vala/vapi
-)
-
-echo -e "export LD_LIBRARY_PATH=${IROOT}/vala/lib:\$LD_LIBRARY_PATH" > $IROOT/vala.installed
-echo -e "export PKG_CONFIG_PATH=${IROOT}/vala/lib/pkgconfig:\$PKG_CONFIG_PATH" >> $IROOT/vala.installed
-echo -e "export PATH=${IROOT}/vala/bin:\$PATH" >> $IROOT/vala.installed
-
-source $IROOT/vala.installed

+ 0 - 65
toolset/setup/linux/prerequisites.sh

@@ -1,65 +0,0 @@
-#!/bin/bash
-
-set -x
-export DEBIAN_FRONTEND=noninteractive
-
-# One -q produces output suitable for logging (mostly hides
-# progress indicators)
-sudo apt-get -yq update
-
-# WARNING: DONT PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
-sudo apt-get -qqy install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
-  git-core \
-  cloc dstat                    `# Collect resource usage statistics` \
-  python-dev \
-  python-pip \
-  python-software-properties \
-  libmysqlclient-dev            `# Needed for MySQL-python` \
-  libpq-dev                     `# Needed for psycopg2` \
-  linux-image-extra-$(uname -r) `# Needed for Docker on Ubuntu 14` \
-  linux-image-extra-virtual     `# Needed for Docker on Ubuntu 14` \
-  apt-transport-https           `# Needed for Docker on Ubuntu 14` \
-  ca-certificates               `# Needed for Docker on Ubuntu 14` \
-  curl                          `# Needed for Docker on Ubuntu 14` \
-  software-properties-common    `# Needed for Docker on Ubuntu 14`
-
-sudo pip install colorama==0.3.1 requests MySQL-python psycopg2-binary pymongo
-
-#
-# Install Docker
-#
-curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-sudo add-apt-repository \
-   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
-   $(lsb_release -cs) \
-   stable"
-sudo apt-get update
-sudo apt-get -qqy install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"  docker-ce
-sudo groupadd docker
-sudo usermod -aG docker $USER
-
-sudo pip install docker==3.1.0
-
-# Get the ulimit from the benchmark config
-if [ -f benchmark.cfg ]; then
-  FILE=benchmark.cfg
-else
-  FILE=benchmark.cfg.example
-fi
-
-ULIMIT=$(grep '^ulimit=' $FILE | grep -Po '[0-9]+')
-
-if [ ! $ULIMIT ]; then ULIMIT=200000; fi;
-
-sudo sh -c "echo '*               -    nofile          ${ULIMIT}' >> /etc/security/limits.conf"
-sudo sh -c "echo '*            hard    rtprio             99' >> /etc/security/limits.conf"
-sudo sh -c "echo '*            soft    rtprio             99' >> /etc/security/limits.conf"
-
-# Create a tfb command alias for running the toolset
-# For now, this still ensures you have to be in the framework root to run it
-export FWROOT=$(pwd)
-sudo tee /usr/local/bin/tfb <<EOF
-#!/bin/bash
-FWROOT=$FWROOT PYTHONPATH=$FWROOT python $PWD/toolset/run-tests.py "\$@"
-EOF
-sudo chmod a+x /usr/local/bin/tfb

+ 0 - 42
toolset/setup/linux/systools/apache-apr.sh

@@ -1,42 +0,0 @@
-#!/bin/bash
-
-fw_depends gcc-6 openssl
-
-fw_installed apache-apr && return 0
-
-APR_VERSION=1.6.3
-TEMP_DIRECTORY="$(mktemp -d)"
-
-# Ask Apache about the preferred mirror for our connection using JSON response. Source: https://stackoverflow.com/a/39670213
-APR_MIRROR="$(wget -qO - http://www.apache.org/dyn/closer.lua?as_json=1 | grep -P '"preferred": "' | cut -d \" -f4)"
-APR_FILENAME=apr-${APR_VERSION}
-APR_URL=${APR_MIRROR}apr/${APR_FILENAME}.tar.gz
-APR_SIGNATURE=http://www.apache.org/dist/apr/${APR_FILENAME}.tar.gz.asc
-
-APACHE_KEYS=https://people.apache.org/keys/group/apr.asc
-
-# Download the files at temporal storage
-wget -P ${TEMP_DIRECTORY} ${APACHE_KEYS}
-wget -P ${TEMP_DIRECTORY} ${APR_SIGNATURE}
-wget -P ${TEMP_DIRECTORY} ${APR_URL} 
-
-# It's highly unlikely Apache to change the filename of the GPG keys file
-gpg --import ${TEMP_DIRECTORY}/apr.asc
-
-# Verify the downloaded file using the signature file
-gpg --verify ${TEMP_DIRECTORY}/${APR_FILENAME}.tar.gz.asc ${TEMP_DIRECTORY}/${APR_FILENAME}.tar.gz
-
-#TODO below
-# Compile the project
-pushd "${TEMP_DIRECTORY}"
-fw_untar "${TEMP_DIRECTORY}/${APR_FILENAME}.tar.gz"
-pushd "$APR_FILENAME"
-# We need the newer custom OpenSSL
-./configure --with-ssl=/usr/local/ssl
-make
-sudo make install
-sudo ldconfig
-popd
-popd
-
-echo "# Apache APR should be in /usr/local/ssl" > $IROOT/apache-apr.installed

+ 0 - 12
toolset/setup/linux/systools/clang-3.8.sh

@@ -1,12 +0,0 @@
-#!/bin/bash
-
-
-fw_installed clang-3.8 && return 0
-
-sudo add-apt-repository -s "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-3.8 main"
-wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
-sudo apt-get -yq update
-sudo apt-get install -qqy clang-3.8 lldb-3.8
-
-touch $IROOT/clang-3.8.installed
-

+ 0 - 14
toolset/setup/linux/systools/cmysql.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_depends swift
-
-fw_installed cmysql && return 0
-
-echo "Installing cmysql"
-
-eval "$(curl -sL https://apt.vapor.sh)"
-sudo apt-get install cmysql
-
-echo -e "export PATH=~/.local/bin:\$PATH" > $IROOT/cmysql.installed
-
-source $IROOT/cmysql.installed

+ 0 - 24
toolset/setup/linux/systools/composer.sh

@@ -1,24 +0,0 @@
-#!/bin/bash
-
-fw_installed composer && return 0
-
-COMPOSER_HOME=$IROOT/php-composer
-
-mkdir -p $COMPOSER_HOME
-cd $COMPOSER_HOME
-
-fw_get -o composer-installer.php https://getcomposer.org/installer
-
-# Use the PHP and composer from our PHP_HOME directory and 
-# COMPOSER_HOME directories
-#
-# NOTE: if you decide to update the composer version, be sure to test ALL of the frameworks
-# that use composer, as some of them have been known to break on newer versions of composer.
-php composer-installer.php --install-dir=${COMPOSER_HOME} --version=1.6.3
-
-cd ..
-
-echo "export COMPOSER_HOME=${COMPOSER_HOME}" > $IROOT/composer.installed
-echo -e "php \$COMPOSER_HOME/composer.phar install --working-dir \$TROOT --no-dev --no-interaction --no-progress --no-suggest --optimize-autoloader --classmap-authoritative" >> $IROOT/composer.installed
-
-source $IROOT/composer.installed

+ 0 - 14
toolset/setup/linux/systools/ctls.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_depends swift
-
-fw_installed ctls && return 0
-
-echo "Installing ctls"
-
-eval "$(curl -sL https://apt.vapor.sh)"
-sudo apt-get install ctls
-
-echo -e "export PATH=~/.local/bin:\$PATH" > $IROOT/ctls.installed
-
-source $IROOT/ctls.installed

+ 0 - 14
toolset/setup/linux/systools/leiningen.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-
-fw_installed lein && return 0
-
-mkdir -p lein/bin
-fw_get -o leinbin https://raw.github.com/technomancy/leiningen/stable/bin/lein
-mv leinbin lein/bin/lein
-chmod +x lein/bin/lein
-
-LEIN_HOME=$IROOT/lein
-echo "export LEIN_HOME=${LEIN_HOME}" > $IROOT/lein.installed
-echo -e "export PATH=\$LEIN_HOME/bin:\$PATH" >> $IROOT/lein.installed
-
-source $IROOT/lein.installed

+ 0 - 40
toolset/setup/linux/systools/maven.sh

@@ -1,40 +0,0 @@
-#!/bin/bash
-
-fw_installed maven && return 0
-
-MAVEN_VERSION=3.5.2
-TEMP_DIRECTORY="$(mktemp -d)"
-
-# Ask Apache about the preferred mirror for our connection using JSON response. Source: https://stackoverflow.com/a/39670213
-MAVEN_MIRROR="$(wget -qO - http://www.apache.org/dyn/closer.lua?as_json=1 | grep -P '"preferred": "' | cut -d \" -f4)"
-MAVEN_FILENAME=apache-maven-${MAVEN_VERSION}-bin
-MAVEN_URL=${MAVEN_MIRROR}maven/maven-3/${MAVEN_VERSION}/binaries/${MAVEN_FILENAME}.tar.gz
-MAVEN_SIGNATURE=https://www.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/${MAVEN_FILENAME}.tar.gz.asc
-
-APACHE_KEYS=https://www.apache.org/dist/maven/KEYS
-
-# Download the files at temporal storage
-wget -P ${TEMP_DIRECTORY} ${APACHE_KEYS}
-wget -P ${TEMP_DIRECTORY} ${MAVEN_SIGNATURE}
-wget -P ${TEMP_DIRECTORY} ${MAVEN_URL} 
-
-# It's highly unlikely Apache to change the filename of the GPG keys file
-gpg --import ${TEMP_DIRECTORY}/KEYS
-
-# Verify the downloaded file using the signature file
-gpg --verify ${TEMP_DIRECTORY}/${MAVEN_FILENAME}.tar.gz.asc ${TEMP_DIRECTORY}/${MAVEN_FILENAME}.tar.gz
-
-# Delete and create the installation directory
-sudo rm -rf /usr/share/maven3
-sudo mkdir -p /usr/share/maven3
-sudo tar -xzf ${TEMP_DIRECTORY}/${MAVEN_FILENAME}.tar.gz -C /usr/share/maven3 --strip-components=1
-
-echo "export PATH=/usr/share/maven3/bin:\$PATH" > $IROOT/maven.installed
-
-source $IROOT/maven.installed
-
-mvn -version
-
-# Clean up the temp files
-rm -r ~/.gnupg/
-rm -r ${TEMP_DIRECTORY}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä