crystal init -s app .

This commit is contained in:
Gwenhael Le Moine 2022-09-14 10:35:02 +02:00
parent 9e9a74f3a7
commit ca1ab0a6f2
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
8 changed files with 53 additions and 59 deletions

9
.editorconfig Normal file
View file

@ -0,0 +1,9 @@
root = true
[*.cr]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

63
.gitignore vendored
View file

@ -1,58 +1,5 @@
# ---> Ruby
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
# Used by dotenv library to load environment variables.
# .env
# Ignore Byebug command history file.
.byebug_history
## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/
## Specific to RubyMotion (use of 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
#
# vendor/Pods/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*
/docs/
/lib/
/bin/
/.shards/
*.dwarf

2
shard.lock Normal file
View file

@ -0,0 +1,2 @@
version: 2.0
shards: {}

19
shard.yml Normal file
View file

@ -0,0 +1,19 @@
name: myhunt
version: 0.1.0
authors:
- Gwenhael Le Moine <gwenhael@le-moine.org>
description: |
Implementing HP {48,49,50} minehunt game
# dependencies:
# pg:
# github: will/crystal-pg
# version: "~> 0.5"
# development_dependencies:
# webmock:
# github: manastech/webmock.cr
license: https://www.gnu.org/licenses/gpl.html

9
spec/myhunt_spec.cr Normal file
View file

@ -0,0 +1,9 @@
require "./spec_helper"
describe Myhunt do
# TODO: Write tests
it "works" do
false.should eq(true)
end
end

2
spec/spec_helper.cr Normal file
View file

@ -0,0 +1,2 @@
require "spec"
require "../src/myhunt"

6
src/myhunt.cr Normal file
View file

@ -0,0 +1,6 @@
# TODO: Write documentation for `Myhunt`
module Myhunt
VERSION = "0.1.0"
# TODO: Put your code here
end