diff --git a/sh/401-node b/sh/401-node new file mode 100644 index 00000000..e845e8d9 --- /dev/null +++ b/sh/401-node @@ -0,0 +1,16 @@ +#!/bin/sh +# +# Node lets us write JavaScript code outside of the browser. +# +# Yarn is the preferred dependency manager, however, some programs +# have npm hard-coded as a dependency, so we install that as well. +# +# https://wiki.archlinux.org/index.php/Node.js + +set -xe + +pacman -S nodejs + +pacman -S npm + +pacman -S yarn diff --git a/sh/402-crystal b/sh/402-crystal new file mode 100644 index 00000000..79536873 --- /dev/null +++ b/sh/402-crystal @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Crystal is a nice programming language that lets us use +# the usability of Ruby with the performance of C. +# +# `shards` is the official dependency manager for Crystal. +# +# The low level virtual machine (llvm) is used to build +# crystal directly from the source. This is useful when +# we're making changes to the Crystal programming language +# itself. +# +# https://wiki.archlinux.org/index.php/Crystal + +set -xe + +pacman -S crystal + +pacman -S shards + +pacman -S llvm diff --git a/sh/403-rust b/sh/403-rust new file mode 100644 index 00000000..e50b3b1a --- /dev/null +++ b/sh/403-rust @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Rust is a nice programming language that finds many errors +# for us at compile time. This is useful for writing safe code. +# +# The `rustup` package is used over `rust` because this allows us +# to have multiple rust versions at any given time and update them +# as needed. +# +# There are 3 toolchains: stable, beta, and nightly. In this script +# we install the stable toolchain and make it the default. +# +# https://wiki.archlinux.org/index.php/Rust + +set -xe + +pacman -S rustup + +rustup install stable + +rustup default stable diff --git a/sh/404-java b/sh/404-java new file mode 100644 index 00000000..0b034fd4 --- /dev/null +++ b/sh/404-java @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Java is a programming language used in many programming contests. +# This is arguably the only reason why we have it here. +# +# https://wiki.archlinux.org/index.php/Java + +set -xe + +pacman -S jdk10-openjdk