forked from extern/nix-config
Add 40x scripts
This commit is contained in:
parent
8aabd763a0
commit
fe4db5a94b
16
sh/401-node
Normal file
16
sh/401-node
Normal file
@ -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
|
21
sh/402-crystal
Normal file
21
sh/402-crystal
Normal file
@ -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
|
21
sh/403-rust
Normal file
21
sh/403-rust
Normal file
@ -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
|
10
sh/404-java
Normal file
10
sh/404-java
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user