Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quby-compiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
RoQua
quby-compiler
Merge requests
!23
Stop generating last_update, and generate pretty-printed JSONs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Stop generating last_update, and generate pretty-printed JSONs
mv-json-updates
into
main
Overview
1
Commits
2
Pipelines
2
Changes
6
Merged
Per 29 mei 2024 gedeeld account, daarvoor marten
requested to merge
mv-json-updates
into
main
3 years ago
Overview
1
Commits
2
Pipelines
2
Changes
6
Expand
0
0
Merge request reports
Compare
main
version 1
0bdefe62
3 years ago
main (base)
and
latest version
latest version
eee3a55d
2 commits,
3 years ago
version 1
0bdefe62
2 commits,
3 years ago
6 files
+
10
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
exe/quby-compile
+
1
−
2
Options
@@ -35,8 +35,7 @@ paths.each do |path|
key
=
File
.
basename
(
File
.
dirname
(
path
))
sourcecode
=
File
.
read
(
path
)
last_update
=
File
.
mtime
(
path
)
compiled
=
Quby
::
Compiler
.
compile
(
key
,
sourcecode
,
path:
path
,
lookup_tables:
lookup_tables
,
last_update:
last_update
)
compiled
=
Quby
::
Compiler
.
compile
(
key
,
sourcecode
,
path:
path
,
lookup_tables:
lookup_tables
)
FileUtils
.
mkdir_p
(
File
.
join
(
output_path
,
key
))
compiled
[
:outputs
].
each
do
|
type
,
output
|
Loading