license rename: fix the rest of it.

locals-and-roots
Doug Coleman 2016-03-17 02:36:34 -07:00
parent 73de6246b7
commit d4b8e44399
4 changed files with 5 additions and 5 deletions

View File

@ -103,11 +103,11 @@ HELP: set-file-permissions
{ $description "Sets the file permissions for a given file with the supplied Unix permissions integer." }
{ $examples "Using the traditional octal value:"
{ $code "USING: io.files.info.unix kernel ;"
"\"resource:license.txt\" 0o755 set-file-permissions"
"\"resource:LICENSE.txt\" 0o755 set-file-permissions"
}
"Higher-level, setting named bits:"
{ $code "USING: io.files.info.unix kernel literals ;"
"\"resource:license.txt\""
"\"resource:LICENSE.txt\""
"flags{ USER-ALL GROUP-READ GROUP-EXECUTE OTHER-READ OTHER-EXECUTE }"
"set-file-permissions"
}

View File

@ -49,7 +49,7 @@ HELP: with-mapped-array
{ $unchecked-example
"USING: alien.c-types io.mmap prettyprint specialized-arrays ;"
"SPECIALIZED-ARRAY: uint"
"resource:license.txt\" uint [
"resource:LICENSE.txt\" uint [
[ . ] each
] with-mapped-array"
""

View File

@ -4,6 +4,6 @@ USING: io io.files io.encodings.ascii ;
IN: tools.deploy.test.19
: main ( -- )
"vocab:LICENSE.txt" ascii file-contents write ;
"resource:LICENSE.txt" ascii file-contents write ;
MAIN: main

View File

@ -48,7 +48,7 @@ HELP: checksum-file
{ $examples
{ $example
"USING: checksums checksums.crc32 prettyprint ;"
"\"resource:license.txt\" crc32 checksum-file ."
"\"resource:LICENSE.txt\" crc32 checksum-file ."
"B{ 100 139 199 92 }"
}
} ;