fdhfhfgj
This commit is contained in:
parent
799806a823
commit
80be465a99
12
.gitignore
vendored
12
.gitignore
vendored
@ -5,10 +5,14 @@ Cargo.lock
|
||||
|
||||
# Exclude all backup files
|
||||
*.bak
|
||||
|
||||
# Autogenerated by cargo
|
||||
**/*.rs.bk
|
||||
*.bk
|
||||
|
||||
# Exclude build result
|
||||
/target
|
||||
/build
|
||||
/build
|
||||
|
||||
# Ignore vendor files
|
||||
/vendor
|
||||
|
||||
# Do not include clap benches in the commits
|
||||
/benches/rustlang/claprs*
|
@ -1,10 +1,6 @@
|
||||
image:
|
||||
file: gitpod/gitpod.Dockerfile
|
||||
|
||||
ports:
|
||||
- port: 6080
|
||||
onOpen: open-preview
|
||||
|
||||
vscode:
|
||||
extensions:
|
||||
- kalitaalexey.vscode-rust@0.4.2:iw09QffwKU6Xcxr7C2zalA==
|
||||
|
15
Makefile
15
Makefile
@ -12,6 +12,13 @@ all:
|
||||
# All build targets are expected in 'build/build-LANG' where 'LANG' is the unique identifier of the language used
|
||||
# FIXME: Replace 'exit 1' with helpful messages
|
||||
|
||||
# Fetch files from third parties
|
||||
vendor:
|
||||
@ [ ! -d vendor ] && mkdir vendor
|
||||
@ [ ! -d vendor/rustlang ] && mkdir vendor/rustlang
|
||||
@ git clone https://github.com/clap-rs/clap.git vendor/rustlang/clap-rs
|
||||
@ for file in vendor/rustlang/clap-rs/benches/*; do cp "$$file" benches/rustlang/claprs-$${file##vendor/rustlang/clap-rs/benches/} || exit 1; done
|
||||
|
||||
build:
|
||||
@ printf 'FIXME: %s\n' "Build all targets if executed"
|
||||
@ exit 1
|
||||
@ -102,5 +109,9 @@ check-vlang:
|
||||
## CLEAN ##
|
||||
|
||||
clean:
|
||||
@ [ -d build ] && { rm -r build || exit 1 ;}
|
||||
@ printf '%s\n' "Build directory has been cleaned"
|
||||
@ [ -d build ] && rm -r build
|
||||
@ printf '%s\n' "Build directory has been cleaned"
|
||||
|
||||
clean-vendor:
|
||||
@ # FIXME: Output helpful message if directory doesn't exists
|
||||
@ [ -d vendor ] && rm -r vendor
|
1
gitpod/exherbo.Dockerfile
Normal file
1
gitpod/exherbo.Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM scratch
|
@ -4,13 +4,21 @@ FROM gitpod/workspace-full-vnc:latest
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# APT management (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)
|
||||
RUN apt-get update \
|
||||
RUN add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable" \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \
|
||||
&& apt dist-upgrade -y \
|
||||
&& apt-get install -y shellcheck firefox tree xclip umbrello \
|
||||
&& apt-get install -y shellcheck docker-ce docker-ce-cli containerd.io firefox tree xclip umbrello \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& apt autoremove -y
|
||||
|
||||
# Add docker
|
||||
RUN
|
||||
|
||||
# Add custom functions
|
||||
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
||||
'# Custom' \
|
||||
|
@ -1,3 +1,7 @@
|
||||
/*
|
||||
FIXME-DOCS: Add docs
|
||||
*/
|
||||
|
||||
use zernit_logger::fixme;
|
||||
|
||||
pub fn deploy() {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/*
|
||||
FIXME-DOCS: Add docs
|
||||
*/
|
||||
|
||||
use zernit_logger::fixme;
|
||||
|
||||
pub fn hijack() {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/*
|
||||
FIXME-DOCS: Add docs
|
||||
*/
|
||||
|
||||
use zernit_logger::fixme;
|
||||
|
||||
pub fn list() {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/*
|
||||
FIXME-DOCS: Add docs
|
||||
*/
|
||||
|
||||
use zernit_logger::fixme;
|
||||
|
||||
pub fn remove() {
|
||||
|
Loading…
Reference in New Issue
Block a user