Skip to content

Commit

Permalink
chore: dependencias y config para desarrollo
Browse files Browse the repository at this point in the history
  • Loading branch information
jesustorresdev committed Jun 30, 2023
1 parent 81c9d59 commit daa4f36
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ sudo apt-get -y install --no-install-recommends \

bundle config set --local path.system true
bundle config set --local build.nokogiri --use-system-libraries
bundle config set --local without epub3
bundle config set --local without dev epub3
bundle install
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
bundle config set --local path vendor/bundle
bundle config set --local build.nokogiri --use-system-libraries
bundle config set --local without epub3
bundle config set --local without dev epub3
bundle config set --local deployment true
bundle install
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
output/
.bundle
vendor/bundle/
.vscode/
*~
35 changes: 35 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "rake build:html",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "/usr/local/rvm/gems/default/bin/rake",
"args": ["build:html"],
"useBundler": true,
},
{
"name": "asciidoctor html",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "/usr/local/rvm/gems/default/bin/asciidoctor",
"args": [
"--backend", "multipage_html5",
"--require", "asciidoctor-multipage",
"--require", "./lib/time-admonition-block.rb",
"--require", "./lib/autoxref-treeprocessor.rb",
"--attribute", "basedir=/workspaces/ssoo-apuntes",
"--attribute", "outdir=/workspaces/ssoo-apuntes/output/html",
"--destination-dir", "/workspaces/ssoo-apuntes/output/html",
"content/main.adoc"
],
"useBundler": true,
}
]
}
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ gem "rake"
gem "asciidoctor"
gem "rouge"

group :dev do
gem "ruby-debug-ide"
gem "debase", '~> 0.2.5.beta2', require: false
end

group :docstats do
gem "nokogiri"
end
Expand Down
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ GEM
fiber-local
css_parser (1.14.0)
addressable
debase (0.2.5.beta2)
debase-ruby_core_source (>= 0.10.12)
debase-ruby_core_source (3.2.1)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.15.5)
Expand Down Expand Up @@ -95,6 +98,8 @@ GEM
rake (13.0.6)
rexml (3.2.5)
rouge (4.1.2)
ruby-debug-ide (0.7.3)
rake (>= 0.8.1)
ruby-enum (0.9.0)
i18n
ruby-rc4 (0.1.5)
Expand All @@ -118,10 +123,12 @@ DEPENDENCIES
asciidoctor-mathematical
asciidoctor-multipage
asciidoctor-pdf
debase (~> 0.2.5.beta2)
html-proofer
nokogiri
rake
rouge
ruby-debug-ide
webrick

BUNDLED WITH
Expand Down

0 comments on commit daa4f36

Please sign in to comment.